Index: tools/gn/gn_main.cc |
diff --git a/tools/gn/gn_main.cc b/tools/gn/gn_main.cc |
index c0300caff810ffe3b67fd2fd1f3ee1a3dc6adcdd..9c86ab5f01468947a8e958183ed35de5d507e6ec 100644 |
--- a/tools/gn/gn_main.cc |
+++ b/tools/gn/gn_main.cc |
@@ -27,6 +27,9 @@ std::vector<std::string> GetArgs(const CommandLine& cmdline) { |
int main(int argc, char** argv) { |
base::AtExitManager at_exit; |
+#if defined(OS_WIN) |
+ CommandLine::set_slash_is_not_a_switch(); |
+#endif |
CommandLine::Init(argc, argv); |
const CommandLine& cmdline = *CommandLine::ForCurrentProcess(); |