| 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") |
| 11 import("//build/config/pgo/pgo.gni") |
| 11 import("//build/config/sanitizers/sanitizers.gni") | 12 import("//build/config/sanitizers/sanitizers.gni") |
| 12 import("//build/config/ui.gni") | 13 import("//build/config/ui.gni") |
| 13 import("//build/toolchain/goma.gni") | 14 import("//build/toolchain/goma.gni") |
| 14 | 15 |
| 15 # One common error that happens is that GYP-generated headers within gen/ get | 16 # One common error that happens is that GYP-generated headers within gen/ get |
| 16 # included rather than the GN-generated ones within gen/ subdirectories. | 17 # included rather than the GN-generated ones within gen/ subdirectories. |
| 17 # TODO(GYP_GONE): Remove once GYP is gone (as well as exec_script exception). | 18 # TODO(GYP_GONE): Remove once GYP is gone (as well as exec_script exception). |
| 18 assert( | 19 assert( |
| 19 exec_script("//build/dir_exists.py", [ "obj.host" ], "string") == "False", | 20 exec_script("//build/dir_exists.py", [ "obj.host" ], "string") == "False", |
| 20 "GYP artifacts detected in $root_build_dir.$0x0A" + | 21 "GYP artifacts detected in $root_build_dir.$0x0A" + |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 # file doesn't exist, no error will be generated (probably MS tested this | 419 # file doesn't exist, no error will be generated (probably MS tested this |
| 419 # case but forgot the other one?). To reproduce this error, do a build, | 420 # case but forgot the other one?). To reproduce this error, do a build, |
| 420 # then delete the precompile.c.obj file, then build again. | 421 # then delete the precompile.c.obj file, then build again. |
| 421 cflags_c = [ "/wd4206" ] | 422 cflags_c = [ "/wd4206" ] |
| 422 } else if (is_mac) { | 423 } else if (is_mac) { |
| 423 precompiled_header = "build/precompile.h" | 424 precompiled_header = "build/precompile.h" |
| 424 precompiled_source = "//build/precompile.h" | 425 precompiled_source = "//build/precompile.h" |
| 425 } | 426 } |
| 426 } | 427 } |
| 427 } | 428 } |
| OLD | NEW |