diff options
Diffstat (limited to 'deps/v8/gypfiles/gyp_v8')
-rwxr-xr-x | deps/v8/gypfiles/gyp_v8 | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/deps/v8/gypfiles/gyp_v8 b/deps/v8/gypfiles/gyp_v8 index e419b5e89e..5215f51352 100755 --- a/deps/v8/gypfiles/gyp_v8 +++ b/deps/v8/gypfiles/gyp_v8 @@ -108,19 +108,14 @@ def run_gyp(args): if __name__ == '__main__': args = sys.argv[1:] - gyp_chromium_no_action = os.environ.get('GYP_CHROMIUM_NO_ACTION') - if gyp_chromium_no_action == '1': - print 'Skipping gyp_v8 due to GYP_CHROMIUM_NO_ACTION env var.' + gyp_chromium_no_action = os.environ.get('GYP_CHROMIUM_NO_ACTION', '1') + if gyp_chromium_no_action != '0': + print 'GYP is now disabled by default.\n' + print 'If you really want to run this, set the environment variable ' + print 'GYP_CHROMIUM_NO_ACTION=0.' sys.exit(0) running_as_hook = '--running-as-hook' - if running_as_hook in args and gyp_chromium_no_action != '0': - print 'GYP is now disabled by default in runhooks.\n' - print 'If you really want to run this, either run ' - print '`python gypfiles/gyp_v8` explicitly by hand ' - print 'or set the environment variable GYP_CHROMIUM_NO_ACTION=0.' - sys.exit(0) - if running_as_hook in args: args.remove(running_as_hook) |