| Index: build/download_sdk_extras.py
|
| diff --git a/build/download_sdk_extras.py b/build/download_sdk_extras.py
|
| index d22d8850c2e762919fb70d1fd7002f2cdebc8c35..45e71996f1f545f02b0a3c6dda6a5daa3450da8f 100755
|
| --- a/build/download_sdk_extras.py
|
| +++ b/build/download_sdk_extras.py
|
| @@ -9,8 +9,6 @@ The script expects arguments that specify zips file in the google storage
|
| bucket named: <dir in SDK extras>_<package name>_<version>.zip. The file will
|
| be extracted in the android_tools/sdk/extras directory on the test bots. This
|
| script will not do anything for developers.
|
| -
|
| -TODO(navabi): Move this script (crbug.com/459819).
|
| """
|
|
|
| import json
|
| @@ -56,13 +54,8 @@ def main():
|
| local_zip = '%s/%s' % (SDK_EXTRAS_PATH, package['zip'])
|
| if not os.path.exists(local_zip):
|
| package_zip = '%s/%s' % (SDK_EXTRAS_BUCKET, package['zip'])
|
| - try:
|
| - subprocess.check_call(['python', GSUTIL_PATH, '--force-version', '4.7',
|
| - 'cp', package_zip, local_zip])
|
| - except AccessDeniedException:
|
| - print ('WARNING: Bot does not have permission to download SDK packages.'
|
| - ' If this bot compiles for Android, it may have errors.')
|
| - return 0
|
| + subprocess.check_call(['python', GSUTIL_PATH, '--force-version', '4.7',
|
| + 'cp', package_zip, local_zip])
|
| # Always clean dir and extract zip to ensure correct contents.
|
| clean_and_extract(package['dir_name'], package['package'], package['zip'])
|
|
|
|
|