Chromium Code Reviews| Index: build/gyp_chromium |
| diff --git a/build/gyp_chromium b/build/gyp_chromium |
| index c955e39a7c1995bf80ec9ddbc9a1e7df0de19967..9c87e82f16a982893528cf87c253f975d33f6795 100755 |
| --- a/build/gyp_chromium |
| +++ b/build/gyp_chromium |
| @@ -82,6 +82,12 @@ if __name__ == '__main__': |
| if sys.platform != 'darwin': |
| args.append('--no-circular-check') |
| + # If CHROMIUM_GYP_SYNTAX_CHECK is set to 1, it will invoke gyp with --check |
| + # to enfore syntax checking. |
| + syntax_check = os.environ.get('CHROMIUM_GYP_SYNTAX_CHECK') |
| + if syntax_check and int(syntax_check): |
|
Mark Mentovai
2010/03/26 17:53:45
bool() is marginally closer to what you mean than
Robert Sesek
2010/03/26 17:57:35
That's what I thought, too. But |bool("0") == True
|
| + args.append('--check') |
| + |
| print 'Updating projects from gyp files...' |
| sys.stdout.flush() |