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

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

Issue 1808963004: Adding macro to enable changing SSL library (Part 1) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove remoting_nacl change. Created 4 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
« no previous file with comments | « build/common.gypi ('k') | build/config/crypto.gni » ('j') | 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/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/chromecast_build.gni") 7 import("//build/config/chromecast_build.gni")
8 import("//build/config/crypto.gni") 8 import("//build/config/crypto.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/sanitizers/sanitizers.gni") 10 import("//build/config/sanitizers/sanitizers.gni")
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 if (use_openssl) { 122 if (use_openssl) {
123 defines += [ "USE_OPENSSL=1" ] 123 defines += [ "USE_OPENSSL=1" ]
124 } 124 }
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 if (use_nss_certs) { 128 if (use_nss_certs) {
129 defines += [ "USE_NSS_CERTS=1" ] 129 defines += [ "USE_NSS_CERTS=1" ]
130 } 130 }
131 if (use_nss_verifier) {
132 defines += [ "USE_NSS_VERIFIER=1" ]
133 }
131 if (use_ozone) { 134 if (use_ozone) {
132 defines += [ "USE_OZONE=1" ] 135 defines += [ "USE_OZONE=1" ]
133 } 136 }
134 if (use_x11) { 137 if (use_x11) {
135 defines += [ "USE_X11=1" ] 138 defines += [ "USE_X11=1" ]
136 } 139 }
137 if (use_allocator != "tcmalloc") { 140 if (use_allocator != "tcmalloc") {
138 defines += [ "NO_TCMALLOC" ] 141 defines += [ "NO_TCMALLOC" ]
139 } 142 }
140 if (is_asan || is_lsan || is_tsan || is_msan) { 143 if (is_asan || is_lsan || is_tsan || is_msan) {
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 # This error doesn't happen every time. In VS2013, it seems if the .pch 463 # This error doesn't happen every time. In VS2013, it seems if the .pch
461 # file doesn't exist, no error will be generated (probably MS tested this 464 # file doesn't exist, no error will be generated (probably MS tested this
462 # case but forgot the other one?). To reproduce this error, do a build, 465 # case but forgot the other one?). To reproduce this error, do a build,
463 # then delete the precompile.c.obj file, then build again. 466 # then delete the precompile.c.obj file, then build again.
464 cflags_c = [ "/wd4206" ] 467 cflags_c = [ "/wd4206" ]
465 } else if (is_mac && !is_official_build && !use_goma) { 468 } else if (is_mac && !is_official_build && !use_goma) {
466 precompiled_header = "build/precompile.h" 469 precompiled_header = "build/precompile.h"
467 precompiled_source = "//build/precompile.h" 470 precompiled_source = "//build/precompile.h"
468 } 471 }
469 } 472 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/config/crypto.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698