| 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("xmpp") { | 11 group("xmpp") { |
| 12 deps = [ | 12 public_deps = [ |
| 13 ":rtc_xmpp", | 13 ":rtc_xmpp", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 | 16 |
| 17 config("xmpp_warnings_config") { | 17 config("xmpp_warnings_config") { |
| 18 # GN orders flags on a target before flags from configs. The default config | 18 # GN orders flags on a target before flags from configs. The default config |
| 19 # adds these flags so to cancel them out they need to come from a config and | 19 # adds these flags so to cancel them out they need to come from a config and |
| 20 # cannot be on the target directly. | 20 # cannot be on the target directly. |
| 21 if (is_android) { | 21 if (is_android) { |
| 22 cflags = [ "-Wno-error" ] | 22 cflags = [ "-Wno-error" ] |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 | 148 |
| 149 if (is_posix && is_debug) { | 149 if (is_posix && is_debug) { |
| 150 # The Chromium build/common.gypi defines this for all posix | 150 # The Chromium build/common.gypi defines this for all posix |
| 151 # _except_ for ios & mac. We want it there as well, e.g. | 151 # _except_ for ios & mac. We want it there as well, e.g. |
| 152 # because ASSERT and friends trigger off of it. | 152 # because ASSERT and friends trigger off of it. |
| 153 defines += [ "_DEBUG" ] | 153 defines += [ "_DEBUG" ] |
| 154 } | 154 } |
| 155 } | 155 } |
| OLD | NEW |