You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by lu...@apache.org on 2019/08/26 07:12:56 UTC
[incubator-weex] 10/10: [Android] build fix
This is an automated email from the ASF dual-hosted git repository.
luckychen pushed a commit to branch feature/0.26.2.19-jit
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
commit 33940bd504113c2736e811d9c9ee169cfe3c1e18
Author: chen <qh...@gmail.com>
AuthorDate: Mon Aug 26 15:12:13 2019 +0800
[Android] build fix
---
android/sdk/build.gradle | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 1f2645f..e183968 100755
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -130,17 +130,17 @@ android {
versionCode 1
versionName project.version
ndk {
- // if(!project.hasProperty('supportArmeabi-v7a') || "false" != project.getProperty('supportArmeabi-v7a')){
+ if(!project.hasProperty('supportArmeabi-v7a') || "false" != project.getProperty('supportArmeabi-v7a')){
abiFilters 'armeabi-v7a'
- //}
-
-// if(!project.hasProperty('supportArm64-v8a') || "false" != project.getProperty('supportArm64-v8a')){
-// abiFilters 'arm64-v8a'
-// }
-//
-// if(!project.hasProperty('supportX86') || "false" != project.getProperty('supportX86')){
-// abiFilters 'x86'
-// }
+ }
+
+ if(!project.hasProperty('supportArm64-v8a') || "false" != project.getProperty('supportArm64-v8a')){
+ abiFilters 'arm64-v8a'
+ }
+
+ if(!project.hasProperty('supportX86') || "false" != project.getProperty('supportX86')){
+ abiFilters 'x86'
+ }
}
externalNativeBuild {
cmake {