Chromium Code Reviews| Index: build/gyp_chromium |
| diff --git a/build/gyp_chromium b/build/gyp_chromium |
| index 8bfe62e200ea8a58025632f94dbe2e768a8b9785..d756598442c8c61736dda4537242145b058feda4 100755 |
| --- a/build/gyp_chromium |
| +++ b/build/gyp_chromium |
| @@ -471,7 +471,9 @@ if __name__ == '__main__': |
| # . chromium.gyp_env has been applied to os.environ at this point already |
| if sys.platform.startswith('linux') and not os.environ.get('GYP_GENERATORS'): |
| os.environ['GYP_GENERATORS'] = 'ninja' |
| - if sys.platform.startswith('win') and not os.environ.get('GYP_GENERATORS'): |
| + elif sys.platform.startswith('win') and not os.environ.get('GYP_GENERATORS'): |
| + os.environ['GYP_GENERATORS'] = 'ninja' |
| + elif sys.platform.startswith('freebsd') and not os.environ.get('GYP_GENERATORS'): |
|
scottmg
2014/03/03 17:31:09
80 col
also, can you rewrite these three if as:
r.c.ladan
2014/03/04 18:39:45
Done.
|
| os.environ['GYP_GENERATORS'] = 'ninja' |
| elif sys.platform == 'darwin' and not os.environ.get('GYP_GENERATORS') and \ |
| not 'OS=ios' in os.environ.get('GYP_DEFINES', []): |