Commit a65e1c60 authored by thakis's avatar thakis Committed by Commit bot

gn: Stop checking for gyp-style build dirs.

gn has replaced gyp quite a while ago, so this shouldn't be needed any more,
and it'll make running gn a few milliseconds faster.

BUG=none

Review-Url: https://codereview.chromium.org/2735903005
Cr-Commit-Position: refs/heads/master@{#455277}
parent ff5fc4ee
......@@ -13,14 +13,6 @@ import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni")
import("//build/toolchain/goma.gni")
# One common error that happens is that GYP-generated headers within gen/ get
# included rather than the GN-generated ones within gen/ subdirectories.
# TODO(GYP_GONE): Remove once GYP is gone (as well as exec_script exception).
assert(
exec_script("//build/dir_exists.py", [ "obj.host" ], "string") == "False",
"GYP artifacts detected in $root_build_dir.$0x0A" +
"You must wipe this directory before building with GN.")
declare_args() {
# When set (the default) enables C++ iterator debugging in debug builds.
# Iterator debugging is always off in release builds (technically, this flag
......
......@@ -7,7 +7,6 @@
build_dotfile_settings = {
exec_script_whitelist = [
"//build/config/BUILD.gn",
"//build/config/android/config.gni",
"//build/config/android/internal_rules.gni",
"//build/config/android/rules.gni",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment