| 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 import("//build/config/features.gni") | 6 import("//build/config/features.gni") | 
| 7 | 7 | 
| 8 # From third_party/libjingle/libjingle.gyp's target_defaults. | 8 # From third_party/libjingle/libjingle.gyp's target_defaults. | 
| 9 config("jingle_unexported_configs") { | 9 config("jingle_unexported_configs") { | 
| 10   defines = [ | 10   defines = [ | 
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 259   deps = [ | 259   deps = [ | 
| 260     "//third_party/webrtc/base:rtc_base", | 260     "//third_party/webrtc/base:rtc_base", | 
| 261     ":libjingle_p2p_constants", | 261     ":libjingle_p2p_constants", | 
| 262   ] | 262   ] | 
| 263 | 263 | 
| 264   # From libjingle_common.gypi's conditions list. | 264   # From libjingle_common.gypi's conditions list. | 
| 265   if (is_win) { | 265   if (is_win) { | 
| 266     cflags = [ "/wd4005" ] | 266     cflags = [ "/wd4005" ] | 
| 267   } | 267   } | 
| 268 | 268 | 
|  | 269   if (is_nacl) { | 
|  | 270     deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 
|  | 271   } | 
|  | 272 | 
| 269   configs += [ ":jingle_unexported_configs" ] | 273   configs += [ ":jingle_unexported_configs" ] | 
| 270   public_configs = [ ":jingle_public_configs" ] | 274   public_configs = [ ":jingle_public_configs" ] | 
| 271   all_dependent_configs = [ ":jingle_all_dependent_configs" ] | 275   all_dependent_configs = [ ":jingle_all_dependent_configs" ] | 
| 272 } | 276 } | 
| 273 | 277 | 
| 274 # This has to be is a separate project due to a bug in MSVS 2008 and the | 278 # This has to be is a separate project due to a bug in MSVS 2008 and the | 
| 275 # current toolset on android.  The problem is that we have two files named | 279 # current toolset on android.  The problem is that we have two files named | 
| 276 # "constants.cc" and MSVS/android doesn't handle this properly. | 280 # "constants.cc" and MSVS/android doesn't handle this properly. | 
| 277 # GYP currently has guards to catch this, so if you want to remove it, | 281 # GYP currently has guards to catch this, so if you want to remove it, | 
| 278 # run GYP and if GYP has removed the validation check, then we can assume | 282 # run GYP and if GYP has removed the validation check, then we can assume | 
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 506       "$p2p_dir/stunprober/stunprober.cc", | 510       "$p2p_dir/stunprober/stunprober.cc", | 
| 507     ] | 511     ] | 
| 508 | 512 | 
| 509     deps = [ | 513     deps = [ | 
| 510       "//third_party/webrtc/base:rtc_base", | 514       "//third_party/webrtc/base:rtc_base", | 
| 511       ":libjingle_webrtc_common", | 515       ":libjingle_webrtc_common", | 
| 512     ] | 516     ] | 
| 513   } | 517   } | 
| 514 }  # enable_webrtc | 518 }  # enable_webrtc | 
| 515 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 519 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 
| OLD | NEW | 
|---|