aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/testenv.sh
diff options
context:
space:
mode:
authorGravatar Adam Michael <ajmichael@google.com>2017-05-11 10:37:08 -0400
committerGravatar Kristina Chodorow <kchodorow@google.com>2017-05-11 10:49:38 -0400
commit9091c373e65423d3044080eddbfa1e437980fd16 (patch)
treecb0b8a9062f06df6c37d2bfcad1cb358165938f6 /src/test/shell/testenv.sh
parent8bd798d69a20d16f6017d5ec68fab7400c66143a (diff)
Remove references to ANDROID_SDK_API_LEVEL from CI
ANDROID_SDK_API_LEVEL was previously set by a script that parsed that platforms/ directory of the SDK. Now this functionality is handled by android_sdk_repository which autodetects the available API levels. Change-Id: Ifbbc5499444f465929b9d70bf488ff5ba3c4cded PiperOrigin-RevId: 155747062
Diffstat (limited to 'src/test/shell/testenv.sh')
-rwxr-xr-xsrc/test/shell/testenv.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/shell/testenv.sh b/src/test/shell/testenv.sh
index c03bce4db9..b7115e47cf 100755
--- a/src/test/shell/testenv.sh
+++ b/src/test/shell/testenv.sh
@@ -292,12 +292,10 @@ function setup_android_sdk_support() {
for i in $SDK_SRCDIR/*; do
ln -s "$i" "$ANDROID_SDK/$(basename $i)"
done
- ANDROID_SDK_API_LEVEL=$(ls $SDK_SRCDIR/platforms | cut -d '-' -f 2 | sort -n | tail -1)
cat >> WORKSPACE <<EOF
android_sdk_repository(
name = "androidsdk",
path = "$ANDROID_SDK",
- api_level = $ANDROID_SDK_API_LEVEL,
)
EOF
}
@@ -311,12 +309,10 @@ function setup_android_ndk_support() {
ln -s "$i" "$ANDROID_NDK/$(basename $i)"
fi
done
- ANDROID_NDK_API_LEVEL=$(ls $NDK_SRCDIR/platforms | cut -d '-' -f 2 | sort -n | tail -1)
cat >> WORKSPACE <<EOF
android_ndk_repository(
name = "androidndk",
path = "$ANDROID_NDK",
- api_level = $ANDROID_NDK_API_LEVEL,
)
EOF
}