forked from cory/tildefriends
Add all the files I think I need to the .apk, and add zlib, so I can attempt to access them using minizip.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4205 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
15
Makefile
15
Makefile
@ -391,13 +391,24 @@ out/apk/classes.dex: $(CLASS_FILES)
|
||||
@echo [dx] $@
|
||||
@$(ANDROID_BUILD_TOOLS)/dx --dex --output=$@ out/classes/
|
||||
|
||||
out/TildeFriends.unsigned.apk: out/apk/classes.dex out/androiddebug/libtildefriends.so
|
||||
PACKAGE_DIRS := \
|
||||
apps/ \
|
||||
core/ \
|
||||
deps/codemirror/ \
|
||||
deps/speedscope/ \
|
||||
deps/split/ \
|
||||
deps/smoothie/
|
||||
|
||||
RAW_FILES := $(shell find $(PACKAGE_DIRS) -type f)
|
||||
|
||||
out/TildeFriends.unsigned.apk: out/apk/classes.dex out/androiddebug/libtildefriends.so $(RAW_FILES)
|
||||
@mkdir -p $(dir $@) out/apk/lib/arm64-v8a/
|
||||
@echo [aapt] $@
|
||||
@cp out/androiddebug/libtildefriends.so out/apk/lib/arm64-v8a/
|
||||
@cp deps/openssl/android/arm64-v8a/usr/local/lib/libssl.so out/apk/lib/arm64-v8a/
|
||||
@cp deps/openssl/android/arm64-v8a/usr/local/lib/libcrypto.so out/apk/lib/arm64-v8a/
|
||||
@$(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 $@ -r $(PACKAGE_DIRS)
|
||||
|
||||
out/TildeFriends.apk: out/TildeFriends.unsigned.apk
|
||||
@echo [apksigner] $(notdir $@)
|
||||
|
Reference in New Issue
Block a user