Require target_arch parameter
This commit is contained in:
parent
0deeae0214
commit
a4a1812f17
2 changed files with 4 additions and 4 deletions
|
@ -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
|
@ -1 +1 @@
|
|||
Subproject commit 185a9535aa88ba19b03d3b76d172a9558ae37354
|
||||
Subproject commit 6d2427e4f1170aa56e9dc1c4fd8922dea7e233c0
|
Loading…
Reference in a new issue