summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authormichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 20:06:28 +0000
committermichaelbai@chromium.org <michaelbai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 20:06:28 +0000
commitab7e7c5389aeb219335f3e96a3bf10a9f51b535e (patch)
treed7780caaf4ae504852b9061b3da1ab6c3134e88c /build
parent1b6f259432f0748926d1aed7568642373e34fd37 (diff)
downloadchromium_src-ab7e7c5389aeb219335f3e96a3bf10a9f51b535e.zip
chromium_src-ab7e7c5389aeb219335f3e96a3bf10a9f51b535e.tar.gz
chromium_src-ab7e7c5389aeb219335f3e96a3bf10a9f51b535e.tar.bz2
Only install the API level needed.
Previously all API levels were installed, it wasted time especially when network conditon is poor. This change will only install the API level specified in SDK_TARGET_ID. BUG= TEST=Tested manually. Review URL: https://chromiumcodereview.appspot.com/10409013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139845 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/install-build-deps-android-sdk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/install-build-deps-android-sdk.sh b/build/install-build-deps-android-sdk.sh
index 8e068a9..e2f182d 100755
--- a/build/install-build-deps-android-sdk.sh
+++ b/build/install-build-deps-android-sdk.sh
@@ -118,7 +118,7 @@ if [[ "$found" = "0" ]]; then
fi
# Updates the SDK to latest version firstly.
"${ANDROID_SDK_ROOT}"/tools/android update sdk ${update_flag} --no-ui \
- --filter platform,platform-tool,tool,system-image
+ --filter platform-tool,tool,system-image,${SDK_TARGET_ID}
fi
# Create a Android Virtual Device named 'buildbot' with default hardware