Chromium Code Reviews| Index: tools/mb/mb.py |
| diff --git a/tools/mb/mb.py b/tools/mb/mb.py |
| index 2c16266c641b09fcb0b12c41863af082a377914f..2de1d9b6f6a23c7f65c6d98a9c49f94a3dc3daeb 100755 |
| --- a/tools/mb/mb.py |
| +++ b/tools/mb/mb.py |
| @@ -528,9 +528,11 @@ class MetaBuildWrapper(object): |
| if not self.Exists(mb_type_path): |
| gn_args_path = self.PathJoin(self.ToAbsPath(build_dir), 'args.gn') |
| if not self.Exists(gn_args_path): |
| - self.Print('Must either specify a path to an existing GN build dir ' |
| - 'or pass in a -m/-b pair or a -c flag to specify the ' |
| - 'configuration') |
| + self.Print('Couldn\'t find %s. Must either specify a path to an ' |
| + 'existing GN build dir or pass in a -m/-b pair or a -c flag ' |
| + 'to specify the configuration. If %s is a GN build dir then ' |
| + 'you can use gn args %s to generate args.gn' % |
| + (gn_args_path, build_dir, build_dir)) |
|
Dirk Pranke
2016/05/31 20:39:03
Ah, good catch.
However, the MB code is actually
brucedawson
2016/05/31 20:44:03
Making "it just work" would be better. Is checking
Dirk Pranke
2016/05/31 20:48:23
It's a little bit more complicated. If we think th
|
| return {} |
| else: |
| mb_type = 'gn' |