From 7e867f478e7bb97c05e6164204c5ae49606e8b06 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 25 May 2017 14:31:16 -0700 Subject: [PATCH] Don't build helpers or rebuild modules during bootstrap --- script/bootstrap.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/script/bootstrap.py b/script/bootstrap.py index 2ea57ee34b..3e9d34a48a 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -65,7 +65,6 @@ def main(): create_chrome_version_h() touch_config_gypi() run_update(defines, args.msvs) - create_node_headers() update_electron_modules('spec', args.target_arch) @@ -183,12 +182,10 @@ def update_node_modules(dirname, env=None): if os.environ.has_key('CI'): try: execute_stdout(args, env) - execute_stdout([NPM, 'rebuild'], env) except subprocess.CalledProcessError: pass else: execute_stdout(args, env) - execute_stdout([NPM, 'rebuild'], env) def update_electron_modules(dirname, target_arch): @@ -271,12 +268,6 @@ def run_update(defines, msvs): execute_stdout(args) -def create_node_headers(): - execute_stdout([sys.executable, - os.path.join(SOURCE_ROOT, 'script', 'create-node-headers.py'), - '--version', get_electron_version()]) - - def get_libchromiumcontent_commit(): commit = os.getenv('LIBCHROMIUMCONTENT_COMMIT') if commit: