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/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 253 } |
254 if (enable_media_router) { | 254 if (enable_media_router) { |
255 defines += [ "ENABLE_MEDIA_ROUTER=1" ] | 255 defines += [ "ENABLE_MEDIA_ROUTER=1" ] |
256 } | 256 } |
257 if (enable_webvr) { | 257 if (enable_webvr) { |
258 defines += [ "ENABLE_WEBVR" ] | 258 defines += [ "ENABLE_WEBVR" ] |
259 } | 259 } |
260 if (is_syzyasan) { | 260 if (is_syzyasan) { |
261 defines += [ | 261 defines += [ |
262 "SYZYASAN", | 262 "SYZYASAN", |
263 "MEMORY_TOOL_REPLACES_ALLOCATOR", | |
264 "MEMORY_SANITIZER_INITIAL_SIZE", | 263 "MEMORY_SANITIZER_INITIAL_SIZE", |
265 ] | 264 ] |
266 } | 265 } |
267 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { | 266 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { |
268 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] | 267 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] |
269 } | 268 } |
270 | 269 |
271 # ============================================== | 270 # ============================================== |
272 # PLEASE DO NOT ADD MORE THINGS TO THIS LIST | 271 # PLEASE DO NOT ADD MORE THINGS TO THIS LIST |
273 # ============================================== | 272 # ============================================== |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 # file doesn't exist, no error will be generated (probably MS tested this | 487 # file doesn't exist, no error will be generated (probably MS tested this |
489 # case but forgot the other one?). To reproduce this error, do a build, | 488 # case but forgot the other one?). To reproduce this error, do a build, |
490 # then delete the precompile.c.obj file, then build again. | 489 # then delete the precompile.c.obj file, then build again. |
491 cflags_c = [ "/wd4206" ] | 490 cflags_c = [ "/wd4206" ] |
492 } else if (is_mac) { | 491 } else if (is_mac) { |
493 precompiled_header = "build/precompile.h" | 492 precompiled_header = "build/precompile.h" |
494 precompiled_source = "//build/precompile.h" | 493 precompiled_source = "//build/precompile.h" |
495 } | 494 } |
496 } | 495 } |
497 } | 496 } |
OLD | NEW |