OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 | 6 |
7 # From third_party/libjingle/libjingle.gyp's target_defaults. | 7 # From third_party/libjingle/libjingle.gyp's target_defaults. |
8 config("jingle_unexported_configs") { | 8 config("jingle_unexported_configs") { |
9 defines = [ | 9 defines = [ |
10 "EXPAT_RELATIVE_PATH", | 10 "EXPAT_RELATIVE_PATH", |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 "source/talk/xmpp/xmppstanzaparser.h", | 242 "source/talk/xmpp/xmppstanzaparser.h", |
243 "source/talk/xmpp/xmpptask.cc", | 243 "source/talk/xmpp/xmpptask.cc", |
244 "source/talk/xmpp/xmpptask.h", | 244 "source/talk/xmpp/xmpptask.h", |
245 ] | 245 ] |
246 sources -= [ | 246 sources -= [ |
247 # Compiled as part of libjingle_p2p_constants. | 247 # Compiled as part of libjingle_p2p_constants. |
248 "source/talk/p2p/base/constants.cc", | 248 "source/talk/p2p/base/constants.cc", |
249 "source/talk/p2p/base/constants.h", | 249 "source/talk/p2p/base/constants.h", |
250 ] | 250 ] |
251 deps = [ | 251 deps = [ |
252 # TODO(GYP): Uncomment when WebRTC GN build has settled. | 252 "//third_party/webrtc/base:webrtc_base", |
253 # "//third_party/webrtc/base:webrtc_base", | |
254 ":libjingle_p2p_constants", | 253 ":libjingle_p2p_constants", |
255 ":jingle_deps" | 254 ":jingle_deps" |
256 ] | 255 ] |
257 | 256 |
258 # From libjingle_common.gypi's conditions list. | 257 # From libjingle_common.gypi's conditions list. |
259 if (is_win) { | 258 if (is_win) { |
260 cflags = [ "/wd4005", "/wd4267" ] | 259 cflags = [ "/wd4005", "/wd4267" ] |
261 } | 260 } |
262 | 261 |
263 forward_dependent_configs_from = [ | 262 forward_dependent_configs_from = [ |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 all_dependent_configs = [ | 335 all_dependent_configs = [ |
337 ":jingle_all_dependent_configs", | 336 ":jingle_all_dependent_configs", |
338 ] | 337 ] |
339 if (is_win) { | 338 if (is_win) { |
340 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
341 cflags = [ "/wd4309" ] | 340 cflags = [ "/wd4309" ] |
342 } | 341 } |
343 } | 342 } |
344 | 343 |
345 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 344 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
OLD | NEW |