Enable doNotStrip when doing development/debugging within Android Studio

(cherry picked from commit 4380004176)
This commit is contained in:
Fredia Huya-Kouadio
2021-03-10 00:14:57 -08:00
committed by Rémi Verschelde
parent cacf96962d
commit 864f4201b9
5 changed files with 30 additions and 10 deletions

View File

@@ -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 {