Index: webrtc/libjingle/xmllite/BUILD.gn |
diff --git a/webrtc/modules/bitrate_controller/BUILD.gn b/webrtc/libjingle/xmllite/BUILD.gn |
similarity index 55% |
copy from webrtc/modules/bitrate_controller/BUILD.gn |
copy to webrtc/libjingle/xmllite/BUILD.gn |
index 5e3741ba933db058e77b5c9434d20ced72aa82cf..849558005a6e6783ef073d2ff1cf50d85ef3c056 100644 |
--- a/webrtc/modules/bitrate_controller/BUILD.gn |
+++ b/webrtc/libjingle/xmllite/BUILD.gn |
@@ -1,4 +1,4 @@ |
-# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
+# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
# |
# Use of this source code is governed by a BSD-style license |
# that can be found in the LICENSE file in the root of the source |
@@ -8,20 +8,38 @@ |
import("../../build/webrtc.gni") |
-source_set("bitrate_controller") { |
+group("xmllite") { |
perkj_webrtc
2016/05/13 12:41:28
do we really depend on xml?
kjellander_webrtc
2016/05/13 12:50:44
Yes, webrtc/media depends on xmllite in GYP (and n
|
+ deps = [ |
+ ":rtc_xmllite", |
+ ] |
+} |
+ |
+source_set("rtc_xmllite") { |
sources = [ |
- "bitrate_controller_impl.cc", |
- "bitrate_controller_impl.h", |
- "include/bitrate_allocator.h", |
- "include/bitrate_controller.h", |
- "send_side_bandwidth_estimation.cc", |
- "send_side_bandwidth_estimation.h", |
+ "qname.cc", |
+ "qname.h", |
+ "xmlbuilder.cc", |
+ "xmlbuilder.h", |
+ "xmlconstants.cc", |
+ "xmlconstants.h", |
+ "xmlelement.cc", |
+ "xmlelement.h", |
+ "xmlnsstack.cc", |
+ "xmlnsstack.h", |
+ "xmlparser.cc", |
+ "xmlparser.h", |
+ "xmlprinter.cc", |
+ "xmlprinter.h", |
+ ] |
+ |
+ deps = [ |
+ "../../base:rtc_base", |
] |
- if (is_win) { |
- cflags = [ |
- # TODO(jschuh): Bug 1348: fix this warning. |
- "/wd4267", # size_t to int truncations |
+ if (rtc_build_expat) { |
+ deps += [ "//third_party/expat" ] |
+ public_deps = [ |
+ "//third_party/expat", |
] |
} |
@@ -33,8 +51,4 @@ source_set("bitrate_controller") { |
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
configs -= [ "//build/config/clang:find_bad_constructs" ] |
} |
- |
- deps = [ |
- "../../system_wrappers", |
- ] |
} |