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

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

Issue 1067763004: Remove the deprecated use_nss and USE_NSS flags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-nss-certs-2
Patch Set: Created 5 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
« no previous file with comments | « build/common.gypi ('k') | 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 (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
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 defines += [ 129 defines += [ "USE_NSS_CERTS=1" ]
130 "USE_NSS_CERTS=1",
131
132 # TODO(davidben): USE_NSS is a deprecated alias for USE_NSS_CERTS and will
133 # be removed. See https://crbug.com/462040.
134 "USE_NSS=1",
135 ]
136 } 130 }
137 if (use_ozone) { 131 if (use_ozone) {
138 defines += [ "USE_OZONE=1" ] 132 defines += [ "USE_OZONE=1" ]
139 } 133 }
140 if (use_x11) { 134 if (use_x11) {
141 defines += [ "USE_X11=1" ] 135 defines += [ "USE_X11=1" ]
142 } 136 }
143 if (use_allocator != "tcmalloc") { 137 if (use_allocator != "tcmalloc") {
144 defines += [ "NO_TCMALLOC" ] 138 defines += [ "NO_TCMALLOC" ]
145 } 139 }
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 "CoreFoundation.framework", 328 "CoreFoundation.framework",
335 "CoreGraphics.framework", 329 "CoreGraphics.framework",
336 "CoreText.framework", 330 "CoreText.framework",
337 "Foundation.framework", 331 "Foundation.framework",
338 "UIKit.framework", 332 "UIKit.framework",
339 ] 333 ]
340 } else if (is_linux) { 334 } else if (is_linux) {
341 libs = [ "dl" ] 335 libs = [ "dl" ]
342 } 336 }
343 } 337 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698