Don't build helpers or rebuild modules during bootstrap
This commit is contained in:
		
					parent
					
						
							
								f67968d244
							
						
					
				
			
			
				commit
				
					
						7e867f478e
					
				
			
		
					 1 changed files with 0 additions and 9 deletions
				
			
		| 
						 | 
					@ -65,7 +65,6 @@ def main():
 | 
				
			||||||
  create_chrome_version_h()
 | 
					  create_chrome_version_h()
 | 
				
			||||||
  touch_config_gypi()
 | 
					  touch_config_gypi()
 | 
				
			||||||
  run_update(defines, args.msvs)
 | 
					  run_update(defines, args.msvs)
 | 
				
			||||||
  create_node_headers()
 | 
					 | 
				
			||||||
  update_electron_modules('spec', args.target_arch)
 | 
					  update_electron_modules('spec', args.target_arch)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -183,12 +182,10 @@ def update_node_modules(dirname, env=None):
 | 
				
			||||||
    if os.environ.has_key('CI'):
 | 
					    if os.environ.has_key('CI'):
 | 
				
			||||||
      try:
 | 
					      try:
 | 
				
			||||||
        execute_stdout(args, env)
 | 
					        execute_stdout(args, env)
 | 
				
			||||||
        execute_stdout([NPM, 'rebuild'], env)
 | 
					 | 
				
			||||||
      except subprocess.CalledProcessError:
 | 
					      except subprocess.CalledProcessError:
 | 
				
			||||||
        pass
 | 
					        pass
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
      execute_stdout(args, env)
 | 
					      execute_stdout(args, env)
 | 
				
			||||||
      execute_stdout([NPM, 'rebuild'], env)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def update_electron_modules(dirname, target_arch):
 | 
					def update_electron_modules(dirname, target_arch):
 | 
				
			||||||
| 
						 | 
					@ -271,12 +268,6 @@ def run_update(defines, msvs):
 | 
				
			||||||
  execute_stdout(args)
 | 
					  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():
 | 
					def get_libchromiumcontent_commit():
 | 
				
			||||||
  commit = os.getenv('LIBCHROMIUMCONTENT_COMMIT')
 | 
					  commit = os.getenv('LIBCHROMIUMCONTENT_COMMIT')
 | 
				
			||||||
  if commit:
 | 
					  if commit:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue