Index: tools/gn/command_refs.cc |
diff --git a/tools/gn/command_refs.cc b/tools/gn/command_refs.cc |
index 6fa014644f5598c8aea28422cf2b11e1d6bf44be..4d7ad7b5b3309cbf5237a9faa3b2fdeef8e61199 100644 |
--- a/tools/gn/command_refs.cc |
+++ b/tools/gn/command_refs.cc |
@@ -403,7 +403,6 @@ int RunRefs(const std::vector<std::string>& args) { |
bool all_toolchains = cmdline->HasSwitch(switches::kAllToolchains); |
Setup* setup = new Setup; |
- setup->build_settings().set_check_for_bad_items(false); |
if (!setup->DoSetup(args[0], false) || !setup->Run()) |
return 1; |