Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 3b0b9d0

Browse files
committed
* [Android] Update build.gradle to support external build scripts
1 parent 414e9dd commit 3b0b9d0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

android/sdk/build.gradle

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,12 @@ android {
152152
versionCode 1
153153
versionName project.version
154154
ndk {
155-
abiFilters "armeabi-v7a","armeabi","x86"
155+
if (project.armABIOnly){
156+
abiFilters "armeabi"
157+
println "armeabi only"
158+
} else {
159+
abiFilters "armeabi-v7a", "armeabi", "x86"
160+
}
156161
}
157162

158163
externalNativeBuild {

0 commit comments

Comments
 (0)