Download debian arm sysroot image

This commit is contained in:
Cheng Zhao 2015-07-01 09:22:40 +00:00
parent af05f5b329
commit 88eb5283a0
3 changed files with 187 additions and 0 deletions

View file

@ -32,6 +32,9 @@ def main():
if PLATFORM != 'win32':
update_clang()
if args.target_arch == 'arm':
download_arm_sysroot()
create_chrome_version_h()
touch_config_gypi()
run_update()
@ -113,6 +116,12 @@ def update_clang():
execute_stdout([os.path.join(SOURCE_ROOT, 'script', 'update-clang.sh')])
def download_arm_sysroot():
execute_stdout([os.path.join(SOURCE_ROOT, 'script',
'install-debian.wheezy.sysroot.py'),
'--arch', 'arm'])
def create_chrome_version_h():
version_file = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor',
'libchromiumcontent', 'VERSION')