mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Require target_arch parameter
This commit is contained in:
@@ -23,10 +23,10 @@ def parse_args():
|
||||
parser = argparse.ArgumentParser(description='Bootstrap this project')
|
||||
parser.add_argument('-c', '--commit', required=True,
|
||||
help='The commit of libchromiumcontent to download.')
|
||||
parser.add_argument('-t', '--target_arch', required=True,
|
||||
help='The arch of libchromiumcontent to download.')
|
||||
parser.add_argument('-d', '--dev', action='store_true',
|
||||
help='Do not download static_library build')
|
||||
parser.add_argument('--target_arch', required=True,
|
||||
help='The arch of libchromiumcontent to download.')
|
||||
parser.add_argument('url', help='The base URL from which to download '
|
||||
'libchromiumcontent (i.e., the URL you passed to '
|
||||
'libchromiumcontent\'s script/upload script')
|
||||
@@ -44,7 +44,7 @@ def download_libchromiumcontent(is_dev, commit, target_arch, url):
|
||||
download = os.path.join(VENDOR_DIR, 'libchromiumcontent', 'script',
|
||||
'download')
|
||||
target_dir = os.path.join(DOWNLOAD_DIR, 'libchromiumcontent')
|
||||
args = ['-f', '-c', commit, '-t', target_arch, url, target_dir]
|
||||
args = ['-f', '-c', commit, '--target_arch', target_arch, url, target_dir]
|
||||
if is_dev:
|
||||
subprocess.check_call([sys.executable, download] + args)
|
||||
else:
|
||||
|
||||
2
brightray/vendor/libchromiumcontent
vendored
2
brightray/vendor/libchromiumcontent
vendored
Submodule brightray/vendor/libchromiumcontent updated: 185a9535aa...6d2427e4f1
Reference in New Issue
Block a user