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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
248 "source/talk/p2p/base/constants.h", | 248 "source/talk/p2p/base/constants.h", |
249 ] | 249 ] |
250 deps = [ | 250 deps = [ |
251 # TODO(GYP): Uncomment when WebRTC GN build has settled. | 251 # TODO(GYP): Uncomment when WebRTC GN build has settled. |
252 # "//third_party/webrtc/base:webrtc_base", | 252 # "//third_party/webrtc/base:webrtc_base", |
253 ":libjingle_p2p_constants", | 253 ":libjingle_p2p_constants", |
254 ":jingle_deps" | 254 ":jingle_deps" |
255 ] | 255 ] |
256 | 256 |
257 # From libjingle_common.gypi's conditions list. | 257 # From libjingle_common.gypi's conditions list. |
258 if (is_win && !nacl_untrusted_build) { | 258 if (is_win) { |
259 cflags += [ "/wd4005", "\wd4267" ] | 259 cflags = [ "/wd4005", "\wd4267" ] |
scottmg
2014/08/25 19:40:55
why the heck is this \wd?
brettw
2014/08/25 19:42:40
Variety, I guess. Fixed.
| |
260 } | 260 } |
261 | 261 |
262 forward_dependent_configs_from = [ | 262 forward_dependent_configs_from = [ |
263 ":jingle_deps" | 263 ":jingle_deps" |
264 ] | 264 ] |
265 configs += [ | 265 configs += [ |
266 ":jingle_unexported_configs" | 266 ":jingle_unexported_configs" |
267 ] | 267 ] |
268 direct_dependent_configs = [ | 268 direct_dependent_configs = [ |
269 ":jingle_direct_dependent_configs", | 269 ":jingle_direct_dependent_configs", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
330 ":jingle_unexported_configs" | 330 ":jingle_unexported_configs" |
331 ] | 331 ] |
332 direct_dependent_configs = [ | 332 direct_dependent_configs = [ |
333 ":jingle_direct_dependent_configs", | 333 ":jingle_direct_dependent_configs", |
334 ] | 334 ] |
335 all_dependent_configs = [ | 335 all_dependent_configs = [ |
336 ":jingle_all_dependent_configs", | 336 ":jingle_all_dependent_configs", |
337 ] | 337 ] |
338 if (is_win) { | 338 if (is_win) { |
339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
340 cflags += [ "/wd4309" ] | 340 cflags = [ "/wd4309" ] |
341 } | 341 } |
342 } | 342 } |
343 | 343 |
344 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 344 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
OLD | NEW |