summaryrefslogtreecommitdiff
path: root/platform/android/java/lib/build.gradle
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-17 10:28:29 +0100
committerGitHub <noreply@github.com>2021-03-17 10:28:29 +0100
commit00fcc9d340443c40eb0f51142d3a8b2d65f8acf8 (patch)
tree1c6cd52bedb1587d130feb3e41090ecc8c52a734 /platform/android/java/lib/build.gradle
parent08ca4184f407419f4265bdc0add21ac2e78bef7e (diff)
parent4380004176972d384e24ff032d7cd27b52e3dd62 (diff)
Merge pull request #46855 from m4gr3d/add_android_samples
Enable `doNotStrip` when doing development/debugging within Android Studio
Diffstat (limited to 'platform/android/java/lib/build.gradle')
-rw-r--r--platform/android/java/lib/build.gradle6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/android/java/lib/build.gradle b/platform/android/java/lib/build.gradle
index 6fc9a11a08..663ba73d40 100644
--- a/platform/android/java/lib/build.gradle
+++ b/platform/android/java/lib/build.gradle
@@ -36,8 +36,10 @@ android {
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
- // Should be uncommented for development purpose within Android Studio
- // doNotStrip '**/*.so'
+ // 'doNotStrip' is enabled for development within Android Studio
+ if (shouldNotStrip()) {
+ doNotStrip '**/*.so'
+ }
}
sourceSets {