Index: build/config/BUILD.gn |
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
index 6132e84a2b5e55a6a07905ecce1f5bebeb1ec3b9..9a3a6b7452a50f09e826f4eba07f96d59115ffde 100644 |
--- a/build/config/BUILD.gn |
+++ b/build/config/BUILD.gn |
@@ -10,14 +10,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(agrieve): 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. |