| 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 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 } | 24 } |
| 25 | 25 |
| 26 config("xmpp_inherited_config") { | 26 config("xmpp_inherited_config") { |
| 27 defines = [ | 27 defines = [ |
| 28 "FEATURE_ENABLE_SSL", | 28 "FEATURE_ENABLE_SSL", |
| 29 "FEATURE_ENABLE_VOICEMAIL", | 29 "FEATURE_ENABLE_VOICEMAIL", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 source_set("rtc_xmpp") { | 33 rtc_source_set("rtc_xmpp") { |
| 34 cflags = [] | 34 cflags = [] |
| 35 sources = [ | 35 sources = [ |
| 36 "asyncsocket.h", | 36 "asyncsocket.h", |
| 37 "constants.cc", | 37 "constants.cc", |
| 38 "constants.h", | 38 "constants.h", |
| 39 "jid.cc", | 39 "jid.cc", |
| 40 "jid.h", | 40 "jid.h", |
| 41 "plainsaslhandler.h", | 41 "plainsaslhandler.h", |
| 42 "prexmppauth.h", | 42 "prexmppauth.h", |
| 43 "saslcookiemechanism.h", | 43 "saslcookiemechanism.h", |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 ] | 141 ] |
| 142 | 142 |
| 143 defines += [ | 143 defines += [ |
| 144 "FEATURE_ENABLE_VOICEMAIL", | 144 "FEATURE_ENABLE_VOICEMAIL", |
| 145 "FEATURE_ENABLE_PSTN", | 145 "FEATURE_ENABLE_PSTN", |
| 146 ] | 146 ] |
| 147 | 147 |
| 148 if (is_clang) { | 148 if (is_clang) { |
| 149 # Suppress warnings from Chrome's Clang plugins. | 149 # Suppress warnings from Chrome's Clang plugins. |
| 150 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 150 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 151 configs -= [ "//build/config/clang:find_bad_constructs" ] | 151 configs_suppressions += [ "//build/config/clang:find_bad_constructs" ] |
| 152 } | 152 } |
| 153 } | 153 } |
| 154 | 154 |
| 155 if (is_posix && is_debug) { | 155 if (is_posix && is_debug) { |
| 156 # The Chromium build/common.gypi defines this for all posix | 156 # The Chromium build/common.gypi defines this for all posix |
| 157 # _except_ for ios & mac. We want it there as well, e.g. | 157 # _except_ for ios & mac. We want it there as well, e.g. |
| 158 # because ASSERT and friends trigger off of it. | 158 # because ASSERT and friends trigger off of it. |
| 159 defines += [ "_DEBUG" ] | 159 defines += [ "_DEBUG" ] |
| 160 } | 160 } |
| 161 } | 161 } |
| OLD | NEW |