| 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/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/sanitizers/sanitizers.gni") |
| 10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 if (is_syzyasan) { | 282 if (is_syzyasan) { |
| 283 defines += [ | 283 defines += [ |
| 284 "SYZYASAN", | 284 "SYZYASAN", |
| 285 "MEMORY_TOOL_REPLACES_ALLOCATOR", | 285 "MEMORY_TOOL_REPLACES_ALLOCATOR", |
| 286 "MEMORY_SANITIZER_INITIAL_SIZE", | 286 "MEMORY_SANITIZER_INITIAL_SIZE", |
| 287 ] | 287 ] |
| 288 } | 288 } |
| 289 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { | 289 if (!fieldtrial_testing_like_official_build && !is_chrome_branded) { |
| 290 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] | 290 defines += [ "FIELDTRIAL_TESTING_ENABLED" ] |
| 291 } | 291 } |
| 292 if (use_chrome_edk) { |
| 293 defines += [ "USE_CHROME_EDK" ] |
| 294 } |
| 292 } | 295 } |
| 293 | 296 |
| 294 # Debug/release ---------------------------------------------------------------- | 297 # Debug/release ---------------------------------------------------------------- |
| 295 | 298 |
| 296 config("debug") { | 299 config("debug") { |
| 297 defines = [ | 300 defines = [ |
| 298 "_DEBUG", | 301 "_DEBUG", |
| 299 "DYNAMIC_ANNOTATIONS_ENABLED=1", | 302 "DYNAMIC_ANNOTATIONS_ENABLED=1", |
| 300 "WTF_USE_DYNAMIC_ANNOTATIONS=1", | 303 "WTF_USE_DYNAMIC_ANNOTATIONS=1", |
| 301 ] | 304 ] |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 # with precompiled headers since the source file that's "compiled" for | 447 # with precompiled headers since the source file that's "compiled" for |
| 445 # making the precompiled header is empty. | 448 # making the precompiled header is empty. |
| 446 # | 449 # |
| 447 # This error doesn't happen every time. In VS2013, it seems if the .pch | 450 # This error doesn't happen every time. In VS2013, it seems if the .pch |
| 448 # file doesn't exist, no error will be generated (probably MS tested this | 451 # file doesn't exist, no error will be generated (probably MS tested this |
| 449 # case but forgot the other one?). To reproduce this error, do a build, | 452 # case but forgot the other one?). To reproduce this error, do a build, |
| 450 # then delete the precompile.c.obj file, then build again. | 453 # then delete the precompile.c.obj file, then build again. |
| 451 cflags_c = [ "/wd4206" ] | 454 cflags_c = [ "/wd4206" ] |
| 452 } | 455 } |
| 453 } | 456 } |
| OLD | NEW |