|
@@ -147,8 +147,8 @@ def setup_libchromiumcontent(is_dev, target_arch, url,
|
|
|
libcc_shared_library_path,
|
|
|
libcc_static_library_path):
|
|
|
target_dir = os.path.join(DOWNLOAD_DIR, 'libchromiumcontent')
|
|
|
- download = os.path.join(VENDOR_DIR, 'libchromiumcontent', 'script',
|
|
|
- 'download')
|
|
|
+ script = os.path.join(VENDOR_DIR, 'libchromiumcontent', 'script',
|
|
|
+ 'download')
|
|
|
args = ['-f', '-c', get_libchromiumcontent_commit(), '--target_arch',
|
|
|
target_arch, url, target_dir]
|
|
|
if (libcc_source_path != None and
|
|
@@ -161,9 +161,9 @@ def setup_libchromiumcontent(is_dev, target_arch, url,
|
|
|
else:
|
|
|
mkdir_p(DOWNLOAD_DIR)
|
|
|
if is_dev:
|
|
|
- subprocess.check_call([sys.executable, download] + args)
|
|
|
+ subprocess.check_call([sys.executable, script] + args)
|
|
|
else:
|
|
|
- subprocess.check_call([sys.executable, download, '-s'] + args)
|
|
|
+ subprocess.check_call([sys.executable, script, '-s'] + args)
|
|
|
|
|
|
|
|
|
def update_win32_python():
|
|
@@ -204,7 +204,8 @@ def download_sysroot(target_arch):
|
|
|
|
|
|
def download_mips64el_toolchain():
|
|
|
# Download sysroot image.
|
|
|
- if not os.path.exists(os.path.join(VENDOR_DIR, 'debian_jessie_mips64-sysroot')):
|
|
|
+ if not os.path.exists(os.path.join(VENDOR_DIR,
|
|
|
+ 'debian_jessie_mips64-sysroot')):
|
|
|
tar_name = 'debian_jessie_mips64-sysroot.tar.bz2'
|
|
|
download(tar_name, MIPS64EL_SYSROOT_URL,
|
|
|
os.path.join(SOURCE_ROOT, tar_name))
|