| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 # TODO(GYP): Support these in GN. | 105 # TODO(GYP): Support these in GN. |
| 106 # if (is_bsd) { | 106 # if (is_bsd) { |
| 107 # defines += [ "BSD" ] | 107 # defines += [ "BSD" ] |
| 108 # } | 108 # } |
| 109 # if (is_openbsd) { | 109 # if (is_openbsd) { |
| 110 # defines += [ "OPENBSD" ] | 110 # defines += [ "OPENBSD" ] |
| 111 # } | 111 # } |
| 112 # if (is_freebsd) { | 112 # if (is_freebsd) { |
| 113 # defines += [ "FREEBSD" ] | 113 # defines += [ "FREEBSD" ] |
| 114 # } | 114 # } |
| 115 if (is_chromeos) { | 115 if (is_chromeos_ui) { |
| 116 defines += [ "CHROMEOS" ] | 116 defines += [ "CHROMEOS" ] |
| 117 } | 117 } |
| 118 } | 118 } |
| 119 | 119 |
| 120 # From third_party/libjingle/libjingle.gyp's target_defaults. | 120 # From third_party/libjingle/libjingle.gyp's target_defaults. |
| 121 config("jingle_all_dependent_configs") { | 121 config("jingle_all_dependent_configs") { |
| 122 if (is_debug) { | 122 if (is_debug) { |
| 123 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of | 123 # TODO(sergeyu): Fix libjingle to use NDEBUG instead of |
| 124 # _DEBUG and remove this define. See GYP file as well. | 124 # _DEBUG and remove this define. See GYP file as well. |
| 125 defines = [ "_DEBUG" ] | 125 defines = [ "_DEBUG" ] |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 "$p2p_dir/stunprober/stunprober.cc", | 508 "$p2p_dir/stunprober/stunprober.cc", |
| 509 ] | 509 ] |
| 510 | 510 |
| 511 deps = [ | 511 deps = [ |
| 512 "//third_party/webrtc/base:rtc_base", | 512 "//third_party/webrtc/base:rtc_base", |
| 513 ":libjingle_webrtc_common", | 513 ":libjingle_webrtc_common", |
| 514 ] | 514 ] |
| 515 } | 515 } |
| 516 } # enable_webrtc | 516 } # enable_webrtc |
| 517 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 517 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
| OLD | NEW |