| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | |
| 2 # | |
| 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 | |
| 5 # tree. An additional intellectual property rights grant can be found | |
| 6 # in the file PATENTS. All contributing project authors may | |
| 7 # be found in the AUTHORS file in the root of the source tree. | |
| 8 | |
| 9 import("../../build/webrtc.gni") | |
| 10 | |
| 11 group("xmllite") { | |
| 12 deps = [ | |
| 13 ":rtc_xmllite", | |
| 14 ] | |
| 15 } | |
| 16 | |
| 17 source_set("rtc_xmllite") { | |
| 18 sources = [ | |
| 19 "qname.cc", | |
| 20 "qname.h", | |
| 21 "xmlbuilder.cc", | |
| 22 "xmlbuilder.h", | |
| 23 "xmlconstants.cc", | |
| 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", | |
| 33 ] | |
| 34 | |
| 35 deps = [ | |
| 36 "../../base:rtc_base", | |
| 37 ] | |
| 38 | |
| 39 if (rtc_build_expat) { | |
| 40 deps += [ "//third_party/expat" ] | |
| 41 public_deps = [ | |
| 42 "//third_party/expat", | |
| 43 ] | |
| 44 } | |
| 45 | |
| 46 configs += [ "../..:common_config" ] | |
| 47 public_configs = [ "../..:common_inherited_config" ] | |
| 48 | |
| 49 if (is_clang) { | |
| 50 # Suppress warnings from Chrome's Clang plugins. | |
| 51 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | |
| 52 configs -= [ "//build/config/clang:find_bad_constructs" ] | |
| 53 } | |
| 54 } | |
| OLD | NEW |