| Index: tools/gn/command_args.cc
|
| diff --git a/tools/gn/command_args.cc b/tools/gn/command_args.cc
|
| index 7210ef3122142af3063cfdb9614886bc4b50c5f7..c4c16bbcbc3b303f09049785401e0fdde0fae9e9 100644
|
| --- a/tools/gn/command_args.cc
|
| +++ b/tools/gn/command_args.cc
|
| @@ -114,7 +114,7 @@ void PrintArgHelp(const base::StringPiece& name, const Value& value) {
|
|
|
| int ListArgs(const std::string& build_dir) {
|
| Setup* setup = new Setup;
|
| - setup->set_check_for_bad_items(false);
|
| + setup->build_settings().set_check_for_bad_items(false);
|
| if (!setup->DoSetup(build_dir, false) || !setup->Run())
|
| return 1;
|
|
|
| @@ -227,7 +227,7 @@ int EditArgsFile(const std::string& build_dir) {
|
| // Scope the setup. We only use it for some basic state. We'll do the
|
| // "real" build below in the gen command.
|
| Setup setup;
|
| - setup.set_check_for_bad_items(false);
|
| + setup.build_settings().set_check_for_bad_items(false);
|
| // Don't fill build arguments. We're about to edit the file which supplies
|
| // these in the first place.
|
| setup.set_fill_arguments(false);
|
|
|