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/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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 117 } |
118 if (use_clipboard_aurax11) { | 118 if (use_clipboard_aurax11) { |
119 defines += [ "USE_CLIPBOARD_AURAX11=1" ] | 119 defines += [ "USE_CLIPBOARD_AURAX11=1" ] |
120 } | 120 } |
121 if (use_default_render_theme) { | 121 if (use_default_render_theme) { |
122 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] | 122 defines += [ "USE_DEFAULT_RENDER_THEME=1" ] |
123 } | 123 } |
124 if (use_glib) { | 124 if (use_glib) { |
125 defines += [ "USE_GLIB=1" ] | 125 defines += [ "USE_GLIB=1" ] |
126 } | 126 } |
127 if (use_openssl) { | |
128 defines += [ "USE_OPENSSL=1" ] | |
129 } | |
130 if (use_openssl_certs) { | 127 if (use_openssl_certs) { |
131 defines += [ "USE_OPENSSL_CERTS=1" ] | 128 defines += [ "USE_OPENSSL_CERTS=1" ] |
132 } | 129 } |
133 if (use_nss_certs) { | 130 if (use_nss_certs) { |
134 defines += [ "USE_NSS_CERTS=1" ] | 131 defines += [ "USE_NSS_CERTS=1" ] |
135 } | 132 } |
136 if (use_nss_verifier) { | |
137 defines += [ "USE_NSS_VERIFIER=1" ] | |
138 } | |
139 if (use_ozone) { | 133 if (use_ozone) { |
140 defines += [ "USE_OZONE=1" ] | 134 defines += [ "USE_OZONE=1" ] |
141 } | 135 } |
142 if (use_x11) { | 136 if (use_x11) { |
143 defines += [ "USE_X11=1" ] | 137 defines += [ "USE_X11=1" ] |
144 } | 138 } |
145 if (use_allocator != "tcmalloc") { | 139 if (use_allocator != "tcmalloc") { |
146 defines += [ "NO_TCMALLOC" ] | 140 defines += [ "NO_TCMALLOC" ] |
147 } | 141 } |
148 if (is_asan || is_lsan || is_tsan || is_msan) { | 142 if (is_asan || is_lsan || is_tsan || is_msan) { |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 # file doesn't exist, no error will be generated (probably MS tested this | 461 # file doesn't exist, no error will be generated (probably MS tested this |
468 # case but forgot the other one?). To reproduce this error, do a build, | 462 # case but forgot the other one?). To reproduce this error, do a build, |
469 # then delete the precompile.c.obj file, then build again. | 463 # then delete the precompile.c.obj file, then build again. |
470 cflags_c = [ "/wd4206" ] | 464 cflags_c = [ "/wd4206" ] |
471 } else if (is_mac) { | 465 } else if (is_mac) { |
472 precompiled_header = "build/precompile.h" | 466 precompiled_header = "build/precompile.h" |
473 precompiled_source = "//build/precompile.h" | 467 precompiled_source = "//build/precompile.h" |
474 } | 468 } |
475 } | 469 } |
476 } | 470 } |
OLD | NEW |