Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2422)

Unified Diff: build/android/envsetup_functions.sh

Issue 152173002: android envsetup: If ANDROID_SDK_ROOT is set, honor it unconditionally. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/envsetup_functions.sh
diff --git a/build/android/envsetup_functions.sh b/build/android/envsetup_functions.sh
index 151760b34ba2d9d6be54801262c234b3cb904ba0..6908d33a3993aa5ae9deaedd3e286740790072ac 100755
--- a/build/android/envsetup_functions.sh
+++ b/build/android/envsetup_functions.sh
@@ -187,9 +187,7 @@ sdk_build_init() {
else
sdk_defines+=" android_sdk_version=${ANDROID_SDK_VERSION}"
fi
- local sdk_suffix=platforms/android-${ANDROID_SDK_VERSION}
- if [[ -z "${ANDROID_SDK_ROOT}" || \
- ! -d "${ANDROID_SDK_ROOT}/${sdk_suffix}" ]]; then
+ if [[ -z "${ANDROID_SDK_ROOT}" || ! -d "${ANDROID_SDK_ROOT}" ]]; then
export ANDROID_SDK_ROOT="${CHROME_SRC}/third_party/android_tools/sdk/"
else
sdk_defines+=" android_sdk_root=${ANDROID_SDK_ROOT}"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698