summaryrefslogtreecommitdiff
path: root/platform/android/java/lib
diff options
context:
space:
mode:
authorfhuya <fhuya@google.com>2020-03-08 12:34:44 +0100
committerfhuya <fhuya@google.com>2020-03-08 12:37:46 +0100
commit41dadb2b2b7f6a579e4ac815d6f8e4db88b234f3 (patch)
tree836475645afa687e8e830c511fc942b1453c19ab /platform/android/java/lib
parent78adce833bce49ef1bf1503956a6162a1c6dd8b2 (diff)
Enable Android studio debugger.
Diffstat (limited to 'platform/android/java/lib')
-rw-r--r--platform/android/java/lib/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle
index ca8aaf8af0..062f91e08e 100644
--- a/platform/android/java/lib/build.gradle
+++ b/platform/android/java/lib/build.gradle
@@ -26,6 +26,7 @@ android {
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
+ doNotStrip '**/*.so'
}
sourceSets {
@@ -56,7 +57,7 @@ android {
// files is only setup for editing support.
gradle.startParameter.excludedTaskNames += taskPrefix + "externalNativeBuild" + buildType
- def releaseTarget = supportedTargets[buildType.toLowerCase()]
+ def releaseTarget = buildType.toLowerCase()
if (releaseTarget == null || releaseTarget == "") {
throw new GradleException("Invalid build type: " + buildType)
}