OLD | NEW |
---|---|
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../../build/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 | 10 |
11 source_set("bitrate_controller") { | 11 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
| |
12 deps = [ | |
13 ":rtc_xmllite", | |
14 ] | |
15 } | |
16 | |
17 source_set("rtc_xmllite") { | |
12 sources = [ | 18 sources = [ |
13 "bitrate_controller_impl.cc", | 19 "qname.cc", |
14 "bitrate_controller_impl.h", | 20 "qname.h", |
15 "include/bitrate_allocator.h", | 21 "xmlbuilder.cc", |
16 "include/bitrate_controller.h", | 22 "xmlbuilder.h", |
17 "send_side_bandwidth_estimation.cc", | 23 "xmlconstants.cc", |
18 "send_side_bandwidth_estimation.h", | 24 "xmlconstants.h", |
25 "xmlelement.cc", | |
26 "xmlelement.h", | |
27 "xmlnsstack.cc", | |
28 "xmlnsstack.h", | |
29 "xmlparser.cc", | |
30 "xmlparser.h", | |
31 "xmlprinter.cc", | |
32 "xmlprinter.h", | |
19 ] | 33 ] |
20 | 34 |
21 if (is_win) { | 35 deps = [ |
22 cflags = [ | 36 "../../base:rtc_base", |
23 # TODO(jschuh): Bug 1348: fix this warning. | 37 ] |
24 "/wd4267", # size_t to int truncations | 38 |
39 if (rtc_build_expat) { | |
40 deps += [ "//third_party/expat" ] | |
41 public_deps = [ | |
42 "//third_party/expat", | |
25 ] | 43 ] |
26 } | 44 } |
27 | 45 |
28 configs += [ "../..:common_config" ] | 46 configs += [ "../..:common_config" ] |
29 public_configs = [ "../..:common_inherited_config" ] | 47 public_configs = [ "../..:common_inherited_config" ] |
30 | 48 |
31 if (is_clang) { | 49 if (is_clang) { |
32 # Suppress warnings from Chrome's Clang plugins. | 50 # Suppress warnings from Chrome's Clang plugins. |
33 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 51 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
34 configs -= [ "//build/config/clang:find_bad_constructs" ] | 52 configs -= [ "//build/config/clang:find_bad_constructs" ] |
35 } | 53 } |
36 | |
37 deps = [ | |
38 "../../system_wrappers", | |
39 ] | |
40 } | 54 } |
OLD | NEW |