Strip android binaries. (#273)
Strip android binaries. (#273)

Fixes #266

Upgrading the android tools plugin seems to do the trick.

Before:

ls -laF android/build/outputs/aar/conscrypt-android-*
-rw-r----- 1 nathanmittler eng 12538075 Aug  1 07:55 android/build/outputs/aar/conscrypt-android-debug.aar
-rw-r----- 1 nathanmittler eng 12455486 Aug  1 07:56 android/build/outputs/aar/conscrypt-android-release.aar
-rw-r----- 1 nathanmittler eng      475 Aug  1 07:56 android/build/outputs/aar/conscrypt-android-release.aar.asc

jar -tvf android/build/outputs/aar/conscrypt-android-release.aar
361499 Tue Aug 01 07:55:12 PDT 2017 classes.jar
     0 Tue Aug 01 07:56:00 PDT 2017 jni/
     0 Tue Aug 01 07:56:00 PDT 2017 jni/x86_64/
11055096 Tue Aug 01 07:56:00 PDT 2017 jni/x86_64/libconscrypt_jni.so
     0 Tue Aug 01 07:56:00 PDT 2017 jni/x86/
10286428 Tue Aug 01 07:56:00 PDT 2017 jni/x86/libconscrypt_jni.so
     0 Tue Aug 01 07:56:00 PDT 2017 jni/armeabi-v7a/
7701396 Tue Aug 01 07:56:00 PDT 2017 jni/armeabi-v7a/libconscrypt_jni.so
     0 Tue Aug 01 07:56:00 PDT 2017 jni/arm64-v8a/
10800520 Tue Aug 01 07:56:00 PDT 2017 jni/arm64-v8a/libconscrypt_jni.so
  1087 Tue Aug 01 07:55:08 PDT 2017 proguard.txt
   330 Tue Aug 01 07:55:08 PDT 2017 AndroidManifest.xml
     0 Tue Aug 01 07:55:08 PDT 2017 assets/
     0 Tue Aug 01 07:55:08 PDT 2017 aidl/
     0 Tue Aug 01 07:55:08 PDT 2017 res/
     0 Tue Aug 01 07:55:12 PDT 2017 libs/

After:

ls -laF android/build/outputs/aar/conscrypt-android-*
-rw-r----- 1 nathanmittler eng 3704116 Aug  1 07:45 android/build/outputs/aar/conscrypt-android-debug.aar
-rw-r----- 1 nathanmittler eng 3221969 Aug  1 07:46 android/build/outputs/aar/conscrypt-android-release.aar
-rw-r----- 1 nathanmittler eng     475 Aug  1 07:46 android/build/outputs/aar/conscrypt-android-release.aar.asc

jar -tvf android/build/outputs/aar/conscrypt-android-release.aar
361499 Tue Aug 01 07:48:22 PDT 2017 classes.jar
     0 Tue Aug 01 07:49:12 PDT 2017 jni/
     0 Tue Aug 01 07:49:12 PDT 2017 jni/x86_64/
2177040 Tue Aug 01 07:49:12 PDT 2017 jni/x86_64/libconscrypt_jni.so
     0 Tue Aug 01 07:49:12 PDT 2017 jni/x86/
1951260 Tue Aug 01 07:49:12 PDT 2017 jni/x86/libconscrypt_jni.so
     0 Tue Aug 01 07:49:12 PDT 2017 jni/armeabi-v7a/
1132060 Tue Aug 01 07:49:12 PDT 2017 jni/armeabi-v7a/libconscrypt_jni.so
     0 Tue Aug 01 07:49:12 PDT 2017 jni/arm64-v8a/
1930992 Tue Aug 01 07:49:12 PDT 2017 jni/arm64-v8a/libconscrypt_jni.so
  1087 Tue Aug 01 07:48:18 PDT 2017 proguard.txt
   330 Tue Aug 01 07:48:18 PDT 2017 AndroidManifest.xml
     0 Tue Aug 01 07:48:18 PDT 2017 assets/
     0 Tue Aug 01 07:48:18 PDT 2017 aidl/
     0 Tue Aug 01 07:48:18 PDT 2017 res/
     0 Tue Aug 01 07:48:22 PDT 2017 libs/
google/conscrypt,google/conscrypt,google/conscrypt,google/conscrypt,google/conscrypt,google/conscrypt