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

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

Issue 881213004: Support building BoringSSL with NSS certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more ios Created 5 years, 9 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
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/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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 defines += [ "USE_CLIPBOARD_AURAX11=1" ] 107 defines += [ "USE_CLIPBOARD_AURAX11=1" ]
108 } 108 }
109 if (use_default_render_theme) { 109 if (use_default_render_theme) {
110 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] 110 defines += [ "USE_DEFAULT_RENDER_THEME=1" ]
111 } 111 }
112 if (use_glib) { 112 if (use_glib) {
113 defines += [ "USE_GLIB=1" ] 113 defines += [ "USE_GLIB=1" ]
114 } 114 }
115 if (use_openssl) { 115 if (use_openssl) {
116 defines += [ "USE_OPENSSL=1" ] 116 defines += [ "USE_OPENSSL=1" ]
117 if (use_openssl_certs) { 117 }
118 defines += [ "USE_OPENSSL_CERTS=1" ] 118 if (use_openssl_certs) {
119 } 119 defines += [ "USE_OPENSSL_CERTS=1" ]
120 } else if (use_nss_certs) { 120 }
121 if (use_nss_certs) {
121 # USE_NSS really means "use nss for certificate validation and storage" 122 # USE_NSS really means "use nss for certificate validation and storage"
122 # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice 123 # (like USE_OPENSSL_CERTS) and not "we're linking to NSS." It might be nice
123 # to rename this but we're hoping to transition away from NSS. 124 # to rename this but we're hoping to transition away from NSS.
124 defines += [ "USE_NSS=1" ] 125 defines += [ "USE_NSS=1" ]
125 } 126 }
126 if (use_ozone) { 127 if (use_ozone) {
127 defines += [ "USE_OZONE=1" ] 128 defines += [ "USE_OZONE=1" ]
128 } 129 }
129 if (use_x11) { 130 if (use_x11) {
130 defines += [ "USE_X11=1" ] 131 defines += [ "USE_X11=1" ]
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 "CoreFoundation.framework", 311 "CoreFoundation.framework",
311 "CoreGraphics.framework", 312 "CoreGraphics.framework",
312 "CoreText.framework", 313 "CoreText.framework",
313 "Foundation.framework", 314 "Foundation.framework",
314 "UIKit.framework", 315 "UIKit.framework",
315 ] 316 ]
316 } else if (is_linux) { 317 } else if (is_linux) {
317 libs = [ "dl" ] 318 libs = [ "dl" ]
318 } 319 }
319 } 320 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698