From a8cc9cb70d78f5be04754c450a43cda2d937e04b Mon Sep 17 00:00:00 2001 From: Nick Alexander Date: Thu, 26 Jul 2018 13:06:03 -0700 Subject: [PATCH] [sdks/android] Don't strip Mentat library. Help folks debugging by including symbols in our native libraries. Yes, this makes the resulting AAR very large. The Android ecosystem seems to be in flux around who is in charge of stripping native binaries, but for now let's provide symbols and see how consumers react. --- sdks/android/Mentat/library/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sdks/android/Mentat/library/build.gradle b/sdks/android/Mentat/library/build.gradle index 4a0efd50..c0f3d9c7 100644 --- a/sdks/android/Mentat/library/build.gradle +++ b/sdks/android/Mentat/library/build.gradle @@ -33,6 +33,13 @@ android { lintOptions { abortOnError false } + + // Help folks debugging by including symbols in our native libraries. Yes, this makes the + // resulting AAR very large. The Android ecosystem seems to be in flux around who is in charge + // of stripping native binaries, but for now let's provide symbols and see how consumers react. + packagingOptions { + doNotStrip "**/*.so" + } } cargo {