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}" |