Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Side by Side Diff: third_party/libjingle/BUILD.gn

Issue 1290033003: Rename is_chromeos in libjingle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698