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

Side by Side Diff: build/config/BUILD.gn

Issue 242173002: Make GN build work on Mac again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Undo mistakes Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | build/config/crypto.gni » ('j') | net/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # When set, turns off the (normally-on) iterator debugging and related stuff 10 # When set, turns off the (normally-on) iterator debugging and related stuff
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 defines += [ "USE_CLIPBOARD_AURAX11=1" ] 97 defines += [ "USE_CLIPBOARD_AURAX11=1" ]
98 } 98 }
99 if (use_default_render_theme) { 99 if (use_default_render_theme) {
100 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] 100 defines += [ "USE_DEFAULT_RENDER_THEME=1" ]
101 } 101 }
102 if (use_glib) { 102 if (use_glib) {
103 defines += [ "USE_GLIB=1" ] 103 defines += [ "USE_GLIB=1" ]
104 } 104 }
105 if (use_openssl) { 105 if (use_openssl) {
106 defines += [ "USE_OPENSSL=1" ] 106 defines += [ "USE_OPENSSL=1" ]
107 } else { 107 if (use_openssl_certs) {
108 defines += [ "USE_OPENSSL_CERTS=1" ]
109 }
110 } else if (use_nss_certs) {
111 # USE_NSS really means "use nss for certificate validation and storage"
112 # and not "we're linking to NSS." This should probably be renamed
113 # USE_NSS_CERTS to match OpenSSL and our build flag definitions.
Ryan Sleevi 2014/04/18 00:25:07 No it should not. OpenSSL having two flags is par
108 defines += [ "USE_NSS=1" ] 114 defines += [ "USE_NSS=1" ]
109 } 115 }
110 if (use_ozone) { 116 if (use_ozone) {
111 defines += [ "USE_OZONE=1" ] 117 defines += [ "USE_OZONE=1" ]
112 } 118 }
113 if (use_x11) { 119 if (use_x11) {
114 defines += [ "USE_X11=1" ] 120 defines += [ "USE_X11=1" ]
115 if (use_xi2_mt > 0) { 121 if (use_xi2_mt > 0) {
116 defines += [ "USE_XI2_MT=$use_xi2_mt" ] 122 defines += [ "USE_XI2_MT=$use_xi2_mt" ]
117 } 123 }
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 "CoreText.framework", 218 "CoreText.framework",
213 "Foundation.framework", 219 "Foundation.framework",
214 "UIKit.framework", 220 "UIKit.framework",
215 ] 221 ]
216 } else if (is_linux) { 222 } else if (is_linux) {
217 libs = [ 223 libs = [
218 "dl", 224 "dl",
219 ] 225 ]
220 } 226 }
221 } 227 }
OLDNEW
« no previous file with comments | « no previous file | build/config/crypto.gni » ('j') | net/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698