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

Commit

Permalink
Merge pull request #2307 from YorkShen/android_playground_build
Browse files Browse the repository at this point in the history
* [Android] Fix android playground run unexpectedly on arm-v7a platform
  • Loading branch information
jianhan-he committed Apr 12, 2019
2 parents b4b7703 + b6b4b06 commit be06e3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ subprojects {
targetSdkVersion=26
supportLibVersion="26.0.2"
fastjsonLibVersion="1.1.46.android"
//Default value for armABIOnly is true
armABIOnly = !project.hasProperty("armABIOnly") || armABIOnly.equals('true')
//Default value for buildCpp is true
buildCpp = !project.hasProperty("buildCpp") || buildCpp.equals("true")
//Default value for disableCov is false
Expand Down
6 changes: 1 addition & 5 deletions android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,7 @@ android {
versionCode 1
versionName project.version
ndk {
if (project.armABIOnly){
abiFilters "armeabi"
} else {
abiFilters "armeabi-v7a", "armeabi", "x86"
}
abiFilters "armeabi-v7a", "armeabi", "x86"
}
externalNativeBuild {
cmake {
Expand Down

0 comments on commit be06e3a

Please sign in to comment.