| Index: tools/gn/command_args.cc
|
| diff --git a/tools/gn/command_args.cc b/tools/gn/command_args.cc
|
| index dd28c11839efdb7a3101892fcf834f3857fe0041..dd4e3c4c8644611084027c9d7d2f85ad9598a44c 100644
|
| --- a/tools/gn/command_args.cc
|
| +++ b/tools/gn/command_args.cc
|
| @@ -120,7 +120,9 @@ extern const char kArgs_Help[] =
|
| int RunArgs(const std::vector<std::string>& args) {
|
| Setup* setup = new Setup;
|
| setup->set_check_for_bad_items(false);
|
| - if (!setup->DoSetup() || !setup->Run())
|
| + // TODO(brettw) bug 343726: Use a temporary directory instead of this
|
| + // default one to avoid messing up any build that's in there.
|
| + if (!setup->DoSetup("//out/Default/") || !setup->Run())
|
| return 1;
|
|
|
| Scope::KeyValueMap build_args;
|
|
|