зеркало из https://github.com/mozilla/gecko-dev.git
Bug 747311 - autodetect android_toolchain on Android/x86. r=glandium
This commit is contained in:
Родитель
7c25c7abcb
Коммит
347c7b2ab7
10
configure.in
10
configure.in
|
@ -400,7 +400,15 @@ case "$target" in
|
|||
|
||||
# With newer NDK, the toolchain path has changed.
|
||||
if ! test -d "$android_toolchain" ; then
|
||||
android_toolchain="$android_ndk"/toolchains/arm-$kernel_name-androideabi-4.4.3/prebuilt/$kernel_name-x86
|
||||
case "$target_cpu" in
|
||||
arm)
|
||||
target_name=arm-linux-androideabi-4.4.3
|
||||
;;
|
||||
i?86)
|
||||
target_name=x86-4.4.3
|
||||
;;
|
||||
esac
|
||||
android_toolchain="$android_ndk"/toolchains/$target_name/prebuilt/$kernel_name-x86
|
||||
fi
|
||||
|
||||
if test -d "$android_toolchain" ; then
|
||||
|
|
|
@ -391,7 +391,15 @@ case "$target" in
|
|||
|
||||
# With newer NDK, the toolchain path has changed.
|
||||
if ! test -d "$android_toolchain" ; then
|
||||
android_toolchain="$android_ndk"/toolchains/arm-$kernel_name-androideabi-4.4.3/prebuilt/$kernel_name-x86
|
||||
case "$target_cpu" in
|
||||
arm)
|
||||
target_name=arm-linux-androideabi-4.4.3
|
||||
;;
|
||||
i?86)
|
||||
target_name=x86-4.4.3
|
||||
;;
|
||||
esac
|
||||
android_toolchain="$android_ndk"/toolchains/$target_name/prebuilt/$kernel_name-x86
|
||||
fi
|
||||
|
||||
if test -d "$android_toolchain" ; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче