| Index: webrtc/libjingle/xmllite/BUILD.gn
|
| diff --git a/webrtc/modules/bitrate_controller/BUILD.gn b/webrtc/libjingle/xmllite/BUILD.gn
|
| similarity index 53%
|
| copy from webrtc/modules/bitrate_controller/BUILD.gn
|
| copy to webrtc/libjingle/xmllite/BUILD.gn
|
| index 5e3741ba933db058e77b5c9434d20ced72aa82cf..c35dde69e05eaf5e9773d4dcdf5fe4811361d1ee 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,33 +8,47 @@
|
|
|
| import("../../build/webrtc.gni")
|
|
|
| -source_set("bitrate_controller") {
|
| +group("xmllite") {
|
| + 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",
|
| ]
|
| }
|
|
|
| configs += [ "../..:common_config" ]
|
| public_configs = [ "../..:common_inherited_config" ]
|
|
|
| - if (is_clang) {
|
| + if (!build_with_chromium && is_clang) {
|
| # Suppress warnings from Chrome's Clang plugins.
|
| # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
| configs -= [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
| -
|
| - deps = [
|
| - "../../system_wrappers",
|
| - ]
|
| }
|
|
|