OLD | NEW |
1 # Copyright (c) 2016 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 group("xmllite") { | 11 group("xmllite") { |
12 deps = [ | 12 deps = [ |
13 ":rtc_xmllite", | 13 ":rtc_xmllite", |
14 ] | 14 ] |
15 } | 15 } |
16 | 16 |
17 source_set("rtc_xmllite") { | 17 rtc_source_set("rtc_xmllite") { |
18 sources = [ | 18 sources = [ |
19 "qname.cc", | 19 "qname.cc", |
20 "qname.h", | 20 "qname.h", |
21 "xmlbuilder.cc", | 21 "xmlbuilder.cc", |
22 "xmlbuilder.h", | 22 "xmlbuilder.h", |
23 "xmlconstants.cc", | 23 "xmlconstants.cc", |
24 "xmlconstants.h", | 24 "xmlconstants.h", |
25 "xmlelement.cc", | 25 "xmlelement.cc", |
26 "xmlelement.h", | 26 "xmlelement.h", |
27 "xmlnsstack.cc", | 27 "xmlnsstack.cc", |
(...skipping 14 matching lines...) Expand all Loading... |
42 "//third_party/expat", | 42 "//third_party/expat", |
43 ] | 43 ] |
44 } | 44 } |
45 | 45 |
46 configs += [ "../..:common_config" ] | 46 configs += [ "../..:common_config" ] |
47 public_configs = [ "../..:common_inherited_config" ] | 47 public_configs = [ "../..:common_inherited_config" ] |
48 | 48 |
49 if (!build_with_chromium && is_clang) { | 49 if (!build_with_chromium && is_clang) { |
50 # Suppress warnings from Chrome's Clang plugins. | 50 # Suppress warnings from Chrome's Clang plugins. |
51 # 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. |
52 configs -= [ "//build/config/clang:find_bad_constructs" ] | 52 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
53 } | 53 } |
54 } | 54 } |
OLD | NEW |