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/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//build/module_args/v8.gni") | 9 import("//build/module_args/v8.gni") |
10 | 10 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
119 } | 119 } |
120 if (use_glib) { | 120 if (use_glib) { |
121 defines += [ "USE_GLIB=1" ] | 121 defines += [ "USE_GLIB=1" ] |
122 } | 122 } |
123 if (use_openssl) { | 123 if (use_openssl) { |
124 defines += [ "USE_OPENSSL=1" ] | 124 defines += [ "USE_OPENSSL=1" ] |
125 if (use_openssl_certs) { | 125 if (use_openssl_certs) { |
126 defines += [ "USE_OPENSSL_CERTS=1" ] | 126 defines += [ "USE_OPENSSL_CERTS=1" ] |
127 } | 127 } |
128 } else if (use_nss_certs) { | 128 } else if (use_nss_certs) { |
129 # USE_NSS really means "use nss for certificate validation and storage" | 129 defines += [ "USE_NSS_CERTS=1" ] |
Nico
2015/04/16 16:33:11
same here
davidben
2015/04/16 18:32:01
Done.
| |
130 # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice | |
131 # to rename this but we're hoping to transition away from NSS. | |
132 defines += [ "USE_NSS=1" ] | |
133 } | 130 } |
134 if (use_ozone) { | 131 if (use_ozone) { |
135 defines += [ "USE_OZONE=1" ] | 132 defines += [ "USE_OZONE=1" ] |
136 } | 133 } |
137 if (use_x11) { | 134 if (use_x11) { |
138 defines += [ "USE_X11=1" ] | 135 defines += [ "USE_X11=1" ] |
139 } | 136 } |
140 if (use_allocator != "tcmalloc") { | 137 if (use_allocator != "tcmalloc") { |
141 defines += [ "NO_TCMALLOC" ] | 138 defines += [ "NO_TCMALLOC" ] |
142 } | 139 } |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
331 "CoreFoundation.framework", | 328 "CoreFoundation.framework", |
332 "CoreGraphics.framework", | 329 "CoreGraphics.framework", |
333 "CoreText.framework", | 330 "CoreText.framework", |
334 "Foundation.framework", | 331 "Foundation.framework", |
335 "UIKit.framework", | 332 "UIKit.framework", |
336 ] | 333 ] |
337 } else if (is_linux) { | 334 } else if (is_linux) { |
338 libs = [ "dl" ] | 335 libs = [ "dl" ] |
339 } | 336 } |
340 } | 337 } |
OLD | NEW |