Compare commits
No commits in common. "ee0aac8877aa05c1a861031014d220f3301a2959" and "aa1ad0a0802e9baf66f4df561ec07490c54d63f4" have entirely different histories.
ee0aac8877
...
aa1ad0a080
15
GNUmakefile
15
GNUmakefile
@ -680,15 +680,6 @@ src/version.h : $(firstword $(MAKEFILE_LIST))
|
|||||||
@echo "#define VERSION_NUMBER \"$(VERSION_NUMBER)\"" > $@
|
@echo "#define VERSION_NUMBER \"$(VERSION_NUMBER)\"" > $@
|
||||||
@echo "#define VERSION_NAME \"$(VERSION_NAME)\"" >> $@
|
@echo "#define VERSION_NAME \"$(VERSION_NAME)\"" >> $@
|
||||||
|
|
||||||
src/android/AndroidManifest.xml : $(firstword $(MAKEFILE_LIST))
|
|
||||||
@echo "[android_version] $@"
|
|
||||||
@sed -i \
|
|
||||||
-e 's/versionCode=".*"/versionCode="$(VERSION_CODE)"/' \
|
|
||||||
-e 's/versionName=".*"/versionName="$(VERSION_NUMBER)"/' \
|
|
||||||
-e 's/android:minSdkVersion="[[:digit:]]*"/android:minSdkVersion="$(ANDROID_MIN_SDK_VERSION)"/' \
|
|
||||||
-e 's/android:targetSdkVersion="[[:digit:]]*"/android:targetSdkVersion="$(ANDROID_TARGET_SDK_VERSION)"/' \
|
|
||||||
$@
|
|
||||||
|
|
||||||
# Android support.
|
# Android support.
|
||||||
out/res/layout_activity_main.xml.flat: src/android/res/layout/activity_main.xml
|
out/res/layout_activity_main.xml.flat: src/android/res/layout/activity_main.xml
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
@ -704,6 +695,8 @@ out/apk/res.apk out/gen/com/unprompted/tildefriends/R.java: out/res/layout_activ
|
|||||||
@echo [aapt2 link] res.apk
|
@echo [aapt2 link] res.apk
|
||||||
@mkdir -p out/apk/
|
@mkdir -p out/apk/
|
||||||
@$(ANDROID_BUILD_TOOLS)/aapt2 link -I $(ANDROID_PLATFORM)/android.jar out/res/layout_activity_main.xml.flat out/res/drawable_icon.xml.flat \
|
@$(ANDROID_BUILD_TOOLS)/aapt2 link -I $(ANDROID_PLATFORM)/android.jar out/res/layout_activity_main.xml.flat out/res/drawable_icon.xml.flat \
|
||||||
|
--version-code $(VERSION_CODE) \
|
||||||
|
--version-name $(VERSION_NUMBER) \
|
||||||
--min-sdk-version $(ANDROID_MIN_SDK_VERSION) \
|
--min-sdk-version $(ANDROID_MIN_SDK_VERSION) \
|
||||||
--target-sdk-version $(ANDROID_TARGET_SDK_VERSION) \
|
--target-sdk-version $(ANDROID_TARGET_SDK_VERSION) \
|
||||||
--manifest src/android/AndroidManifest.xml \
|
--manifest src/android/AndroidManifest.xml \
|
||||||
@ -714,6 +707,8 @@ out/apk/res.fdroid.apk out/gen_fdroid/com/unprompted/tildefriends/R.java: out/re
|
|||||||
@echo [aapt2 link] res.fdroid.apk
|
@echo [aapt2 link] res.fdroid.apk
|
||||||
@mkdir -p out/apk/
|
@mkdir -p out/apk/
|
||||||
@$(ANDROID_BUILD_TOOLS)/aapt2 link -I $(ANDROID_PLATFORM)/android.jar out/res/layout_activity_main.xml.flat out/res/drawable_icon.xml.flat \
|
@$(ANDROID_BUILD_TOOLS)/aapt2 link -I $(ANDROID_PLATFORM)/android.jar out/res/layout_activity_main.xml.flat out/res/drawable_icon.xml.flat \
|
||||||
|
--version-code $(VERSION_CODE) \
|
||||||
|
--version-name $(VERSION_NUMBER) \
|
||||||
--min-sdk-version $(ANDROID_MIN_SDK_VERSION) \
|
--min-sdk-version $(ANDROID_MIN_SDK_VERSION) \
|
||||||
--target-sdk-version $(ANDROID_TARGET_SDK_VERSION) \
|
--target-sdk-version $(ANDROID_TARGET_SDK_VERSION) \
|
||||||
--rename-manifest-package com.unprompted.tildefriends.fdroid \
|
--rename-manifest-package com.unprompted.tildefriends.fdroid \
|
||||||
@ -763,6 +758,8 @@ out/TildeFriends.aab: out/apk/classes.dex $(filter-out %debug%, $(ANDROID_TARGET
|
|||||||
@mkdir -p out/aab/staging
|
@mkdir -p out/aab/staging
|
||||||
@$(ANDROID_BUILD_TOOLS)/aapt2 link --proto-format -o out/aab/temporary.apk \
|
@$(ANDROID_BUILD_TOOLS)/aapt2 link --proto-format -o out/aab/temporary.apk \
|
||||||
-I $(ANDROID_PLATFORM)/android.jar \
|
-I $(ANDROID_PLATFORM)/android.jar \
|
||||||
|
--version-code $(VERSION_CODE) \
|
||||||
|
--version-name $(VERSION_NUMBER) \
|
||||||
--min-sdk-version $(ANDROID_MIN_SDK_VERSION) \
|
--min-sdk-version $(ANDROID_MIN_SDK_VERSION) \
|
||||||
--target-sdk-version $(ANDROID_TARGET_SDK_VERSION) \
|
--target-sdk-version $(ANDROID_TARGET_SDK_VERSION) \
|
||||||
--manifest src/android/AndroidManifest.xml \
|
--manifest src/android/AndroidManifest.xml \
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 52 KiB |
Binary file not shown.
Before Width: | Height: | Size: 298 KiB |
Binary file not shown.
Before Width: | Height: | Size: 275 KiB |
Binary file not shown.
Before Width: | Height: | Size: 186 KiB |
@ -4,8 +4,6 @@
|
|||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
<application
|
<application
|
||||||
android:label="Tilde Friends"
|
android:label="Tilde Friends"
|
||||||
android:versionCode="25"
|
|
||||||
android:versionName="0.0.22-wip"
|
|
||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
android:debuggable="false">
|
android:debuggable="false">
|
||||||
<meta-data android:name="android.max_aspect" android:value="2.1"/>
|
<meta-data android:name="android.max_aspect" android:value="2.1"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user