Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 95b97e6

Browse files
committed
use API level 9 for arm and x86
This change makes them more compatible with Firefox releases, which currently use API level 9 as their baseline. Fixes #98.
1 parent 1f41140 commit 95b97e6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

master/master.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ class ConfigCommand(object):
861861

862862
# Set up the path to the android NDK
863863
if testing_android:
864-
s += " --android-cross-path=/android/ndk-arm-18"
864+
s += " --android-cross-path=/android/ndk-arm-9"
865865
s += " --disable-docs"
866866

867867
if "release-channel" in props:

slaves/android/install-ndk.sh

100644100755
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ set -ex
88
curl -O http://dl.google.com/android/ndk/android-ndk-r10e-linux-x86_64.bin
99
chmod +x android-ndk-r10e-linux-x86_64.bin
1010
./android-ndk-r10e-linux-x86_64.bin > /dev/null
11+
# We use android-9 on arm and x86 for maximum compatibility with systems
12+
# like Firefox. We use 21 for aarch64 and x86-64 because that is the
13+
# earliest API level at which they are supported.
1114
bash android-ndk-r10e/build/tools/make-standalone-toolchain.sh \
12-
--platform=android-18 \
15+
--platform=android-9 \
1316
--toolchain=arm-linux-androideabi-4.8 \
14-
--install-dir=/android/ndk-arm-18 \
17+
--install-dir=/android/ndk-arm-9 \
1518
--ndk-dir=/android/android-ndk-r10e \
1619
--arch=arm
1720
bash android-ndk-r10e/build/tools/make-standalone-toolchain.sh \
@@ -27,7 +30,7 @@ bash android-ndk-r10e/build/tools/make-standalone-toolchain.sh \
2730
--ndk-dir=/android/android-ndk-r10e \
2831
--arch=arm64
2932
bash android-ndk-r10e/build/tools/make-standalone-toolchain.sh \
30-
--platform=android-21 \
33+
--platform=android-9 \
3134
--toolchain=x86-4.9 \
3235
--install-dir=/android/ndk-x86 \
3336
--ndk-dir=/android/android-ndk-r10e \

0 commit comments

Comments
 (0)