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

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

Issue 1234033005: Add Syzygy support to Windows GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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.gn ('k') | build/config/allocator.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/crypto.gni") 7 import("//build/config/crypto.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/sanitizers/sanitizers.gni")
9 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
10 import("//build/module_args/v8.gni") 11 import("//build/module_args/v8.gni")
11 12
12 declare_args() { 13 declare_args() {
13 # When set, turns off the (normally-on) iterator debugging and related stuff 14 # When set, turns off the (normally-on) iterator debugging and related stuff
14 # that is normally turned on for Debug builds. These are generally useful for 15 # that is normally turned on for Debug builds. These are generally useful for
15 # catching bugs but in some cases may cause conflicts or excessive slowness. 16 # catching bugs but in some cases may cause conflicts or excessive slowness.
16 disable_iterator_debugging = false 17 disable_iterator_debugging = false
17 18
18 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__ 19 # Set to true to not store any build metadata, e.g. ifdef out all __DATE__
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 defines += [ "GOOGLE_CHROME_BUILD" ] 269 defines += [ "GOOGLE_CHROME_BUILD" ]
269 } else { 270 } else {
270 defines += [ "CHROMIUM_BUILD" ] 271 defines += [ "CHROMIUM_BUILD" ]
271 } 272 }
272 if (enable_media_router) { 273 if (enable_media_router) {
273 defines += [ "ENABLE_MEDIA_ROUTER=1" ] 274 defines += [ "ENABLE_MEDIA_ROUTER=1" ]
274 } 275 }
275 if (enable_webvr) { 276 if (enable_webvr) {
276 defines += [ "ENABLE_WEBVR" ] 277 defines += [ "ENABLE_WEBVR" ]
277 } 278 }
279 if (is_syzyasan) {
280 defines += [
281 "SYZYASAN",
282 "MEMORY_TOOL_REPLACES_ALLOCATOR",
283 "MEMORY_SANITIZER_INITIAL_SIZE",
284 ]
285 }
278 } 286 }
279 287
280 # Debug/release ---------------------------------------------------------------- 288 # Debug/release ----------------------------------------------------------------
281 289
282 config("debug") { 290 config("debug") {
283 defines = [ 291 defines = [
284 "_DEBUG", 292 "_DEBUG",
285 "DYNAMIC_ANNOTATIONS_ENABLED=1", 293 "DYNAMIC_ANNOTATIONS_ENABLED=1",
286 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 294 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
287 ] 295 ]
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 428
421 # This is a file that GN will compile with the above header. It will be 429 # This is a file that GN will compile with the above header. It will be
422 # implicitly added to the sources (potentially multiple times, with one 430 # implicitly added to the sources (potentially multiple times, with one
423 # variant for each language used in the target). 431 # variant for each language used in the target).
424 precompiled_source = "//build/precompile.cc" 432 precompiled_source = "//build/precompile.cc"
425 433
426 # Force include the header. 434 # Force include the header.
427 cflags = [ "/FI$precompiled_header" ] 435 cflags = [ "/FI$precompiled_header" ]
428 } 436 }
429 } 437 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/config/allocator.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698