зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1360291 - Set minimum NDK platform version to 21 for 64-bit builds; r=nalexander
64-bit is only supported in android-21 and above in the NDK.
This commit is contained in:
Родитель
8d537c0b39
Коммит
5a39ae87ca
|
@ -14,7 +14,12 @@ js_option('--with-android-toolchain', nargs=1,
|
||||||
js_option('--with-android-gnu-compiler-version', nargs=1,
|
js_option('--with-android-gnu-compiler-version', nargs=1,
|
||||||
help='GNU compiler version to use')
|
help='GNU compiler version to use')
|
||||||
|
|
||||||
min_android_version = dependable(lambda: '9')
|
@depends(target)
|
||||||
|
def min_android_version(target):
|
||||||
|
if target.cpu in ['aarch64', 'x86_64', 'mips64']:
|
||||||
|
# 64-bit support was added in API 21.
|
||||||
|
return '21'
|
||||||
|
return '9'
|
||||||
|
|
||||||
js_option('--with-android-version',
|
js_option('--with-android-version',
|
||||||
nargs=1,
|
nargs=1,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче