Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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 Loading... | |
| 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 } |
| OLD | NEW |