forked from cory/tildefriends
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
This commit is contained in:
parent
37edbd9824
commit
37173cce4c
4
Makefile
4
Makefile
@ -411,16 +411,18 @@ PACKAGE_DIRS := \
|
|||||||
apps/ \
|
apps/ \
|
||||||
core/ \
|
core/ \
|
||||||
deps/codemirror/ \
|
deps/codemirror/ \
|
||||||
deps/speedscope/ \
|
|
||||||
deps/split/ \
|
deps/split/ \
|
||||||
deps/smoothie/
|
deps/smoothie/
|
||||||
|
|
||||||
|
# deps/speedscope/ \
|
||||||
|
|
||||||
RAW_FILES := $(shell find $(PACKAGE_DIRS) -type f)
|
RAW_FILES := $(shell find $(PACKAGE_DIRS) -type f)
|
||||||
|
|
||||||
out/TildeFriends.unsigned.apk: out/apk/classes.dex out/androiddebug/tildefriends $(RAW_FILES)
|
out/TildeFriends.unsigned.apk: out/apk/classes.dex out/androiddebug/tildefriends $(RAW_FILES)
|
||||||
@mkdir -p $(dir $@) out/apk/lib/arm64-v8a/
|
@mkdir -p $(dir $@) out/apk/lib/arm64-v8a/
|
||||||
@echo [aapt] $@
|
@echo [aapt] $@
|
||||||
@cp out/androiddebug/tildefriends out/apk/lib/arm64-v8a/
|
@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/
|
@$(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)
|
@zip -u $@ -q -r $(PACKAGE_DIRS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user