Index: tools/gn/command_desc.cc |
diff --git a/tools/gn/command_desc.cc b/tools/gn/command_desc.cc |
index efb0b068cf0b6bb19099e9ecc12d024047d84a69..48fa31ab7ebf140b7351ed2283f326ba0f7813c3 100644 |
--- a/tools/gn/command_desc.cc |
+++ b/tools/gn/command_desc.cc |
@@ -617,6 +617,7 @@ int RunDesc(const std::vector<std::string>& args) { |
// Deliberately leaked to avoid expensive process teardown. |
Setup* setup = new Setup; |
+ setup->build_settings().set_check_for_bad_items(false); |
if (!setup->DoSetup(args[0], false)) |
return 1; |
if (!setup->Run()) |