aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
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 /scripts
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 'scripts')
-rwxr-xr-xscripts/ci/build.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh
index 0b1cd4e360..b91de1523d 100755
--- a/scripts/ci/build.sh
+++ b/scripts/ci/build.sh
@@ -75,26 +75,14 @@ function setup_android_repositories() {
android_sdk_repository(
name = "androidsdk",
path = "${ANDROID_SDK_PATH}",
- build_tools_version = "${ANDROID_SDK_BUILD_TOOLS_VERSION:-22.0.1}",
- api_level = ${ANDROID_SDK_API_LEVEL:-21},
)
-bind(
- name = "android_sdk_for_testing",
- actual = "@androidsdk//:files",
-)
EOF
if [ -n "${ANDROID_NDK_PATH-}" ]; then
cat >>WORKSPACE <<EOF
android_ndk_repository(
name = "androidndk",
path = "${ANDROID_NDK_PATH}",
- api_level = ${ANDROID_NDK_API_LEVEL:-21},
-)
-
-bind(
- name = "android_ndk_for_testing",
- actual = "@androidndk//:files",
)
EOF
fi