Fix Android templates size regression

The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped.
Since the change is only needed for development (debugging) purposes, it's commented out by default.

(cherry picked from commit 2f38cfd9ab)
This commit is contained in:
Fredia Huya-Kouadio 2020-04-23 00:21:39 -07:00 committed by Rémi Verschelde
parent add8d1b9df
commit 17ad99c206
2 changed files with 6 additions and 2 deletions

View File

@ -90,7 +90,9 @@ android {
packagingOptions { packagingOptions {
exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE'
doNotStrip '**/*.so'
// Should be uncommented for development purpose within Android Studio
// doNotStrip '**/*.so'
} }
// Both signing and zip-aligning will be done at export time // Both signing and zip-aligning will be done at export time

View File

@ -26,7 +26,9 @@ android {
packagingOptions { packagingOptions {
exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE'
doNotStrip '**/*.so'
// Should be uncommented for development purpose within Android Studio
// doNotStrip '**/*.so'
} }
sourceSets { sourceSets {