Parcourir la source

wallet: Makefile android APK use release reduces APK from 308M to 42M

darkfi il y a 1 an
Parent
commit
f29e29da87
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      bin/darkwallet/Makefile

+ 2 - 2
bin/darkwallet/Makefile

@@ -10,9 +10,9 @@ NotoColorEmoji.ttf:
 fonts: ibm-plex-mono-regular.otf NotoColorEmoji.ttf
 
 android: fonts
-	podman run -v $(shell pwd)/../../:/root/darkfi -w /root/darkfi/bin/darkwallet/ -t apk cargo quad-apk build
+	podman run -v $(shell pwd)/../../:/root/darkfi -w /root/darkfi/bin/darkwallet/ -t apk cargo quad-apk build --release
 	adb uninstall darkfi.darkwallet
-	adb install target/android-artifacts/debug/apk/darkwallet.apk
+	adb install target/android-artifacts/release/apk/darkwallet.apk
 	reset
 	adb logcat -c
 	adb logcat -s darkfi