Index: tools/gn/command_ls.cc |
diff --git a/tools/gn/command_ls.cc b/tools/gn/command_ls.cc |
index ed4aaca2496a593a7d187ee56e8722d84ecee514..eddb51c379779445e164748bb99c028bdcda5b9c 100644 |
--- a/tools/gn/command_ls.cc |
+++ b/tools/gn/command_ls.cc |
@@ -76,6 +76,7 @@ int RunLs(const std::vector<std::string>& args) { |
} |
Setup* setup = new Setup; |
+ setup->build_settings().set_check_for_bad_items(false); |
if (!setup->DoSetup(args[0], false) || !setup->Run()) |
return 1; |