[Android] -j, not ndk.jobs, in Gradle
This commit is contained in:
parent
037310f8dc
commit
3a065c35f0
|
@ -18,13 +18,14 @@ android {
|
|||
arguments 'NDK_APPLICATION_MK:=../../../build/xenia.Application.mk',
|
||||
'PREMAKE_ANDROIDNDK_PLATFORMS:=Android-ARM64',
|
||||
'PREMAKE_ANDROIDNDK_PLATFORMS+=Android-x86_64',
|
||||
// ndk.jobs doesn't work as of Gradle 7.1.0.
|
||||
"-j${Runtime.runtime.availableProcessors()}",
|
||||
// Work around "Bad file descriptor" on Windows on NDK r22+.
|
||||
'--output-sync=none'
|
||||
}
|
||||
}
|
||||
ndk {
|
||||
abiFilters 'arm64-v8a', 'x86_64'
|
||||
jobs Runtime.runtime.availableProcessors()
|
||||
stl 'c++_static'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue