From 37173cce4cc35225f6cf4475882106ef59fe8390 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Tue, 14 Mar 2023 02:39:25 +0000 Subject: [PATCH] Cut some things to make the APK smaller. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4220 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4373f17a..d25703fc 100644 --- a/Makefile +++ b/Makefile @@ -411,16 +411,18 @@ PACKAGE_DIRS := \ apps/ \ core/ \ deps/codemirror/ \ - deps/speedscope/ \ deps/split/ \ deps/smoothie/ +# deps/speedscope/ \ + RAW_FILES := $(shell find $(PACKAGE_DIRS) -type f) out/TildeFriends.unsigned.apk: out/apk/classes.dex out/androiddebug/tildefriends $(RAW_FILES) @mkdir -p $(dir $@) out/apk/lib/arm64-v8a/ @echo [aapt] $@ @cp out/androiddebug/tildefriends out/apk/lib/arm64-v8a/ + @/usr/lib/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip out/apk/lib/arm64-v8a/tildefriends @$(ANDROID_BUILD_TOOLS)/aapt package -f -M src/android/AndroidManifest.xml -S src/android/res/ -I $(ANDROID_PLATFORM)/android.jar -F $@ out/apk/ @zip -u $@ -q -r $(PACKAGE_DIRS)