Restrict ARCHES to 64-bit ABIs
Remove 32-bit ABIs from NPatch's ARCHES set: only 'arm64-v8a' and 'x86_64' remain.
This commit is contained in:
parent
f4eacbf2d3
commit
3aa1e26343
|
|
@ -108,7 +108,7 @@ fun Project.configureBaseExtension() {
|
||||||
arguments += "-DEXTERNAL_ROOT=${File(rootDir.absolutePath, "core/external")}"
|
arguments += "-DEXTERNAL_ROOT=${File(rootDir.absolutePath, "core/external")}"
|
||||||
arguments += "-DCORE_ROOT=${File(rootDir.absolutePath,
|
arguments += "-DCORE_ROOT=${File(rootDir.absolutePath,
|
||||||
"core/core/src/main/jni")}"
|
"core/core/src/main/jni")}"
|
||||||
abiFilters("arm64-v8a")
|
abiFilters("arm64-v8a", "x86_64")
|
||||||
val flags = arrayOf(
|
val flags = arrayOf(
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Qunused-arguments",
|
"-Qunused-arguments",
|
||||||
|
|
|
||||||
|
|
@ -114,9 +114,7 @@ public class NPatch {
|
||||||
|
|
||||||
private static final String ANDROID_MANIFEST_XML = "AndroidManifest.xml";
|
private static final String ANDROID_MANIFEST_XML = "AndroidManifest.xml";
|
||||||
private static final HashSet<String> ARCHES = new HashSet<>(Arrays.asList(
|
private static final HashSet<String> ARCHES = new HashSet<>(Arrays.asList(
|
||||||
"armeabi-v7a",
|
|
||||||
"arm64-v8a",
|
"arm64-v8a",
|
||||||
"x86",
|
|
||||||
"x86_64"
|
"x86_64"
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue