Limit APK builds to 64-bit ABIs
This commit is contained in:
@@ -8,6 +8,7 @@ APK_OUT ?= build/keepassgo.apk
|
|||||||
APK_VERSION ?= 0.1.0.1
|
APK_VERSION ?= 0.1.0.1
|
||||||
APP_VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev)
|
APP_VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null || echo dev)
|
||||||
GO_LDFLAGS ?= -X git.julianfamily.org/keepassgo/internal/appui.appVersion=$(APP_VERSION)
|
GO_LDFLAGS ?= -X git.julianfamily.org/keepassgo/internal/appui.appVersion=$(APP_VERSION)
|
||||||
|
APK_ARCH ?= arm64,amd64
|
||||||
ANDROID_MIN_SDK ?= 28
|
ANDROID_MIN_SDK ?= 28
|
||||||
ANDROID_TARGET_SDK ?= 35
|
ANDROID_TARGET_SDK ?= 35
|
||||||
SIGNKEY ?=
|
SIGNKEY ?=
|
||||||
@@ -75,6 +76,7 @@ apk-local: android/keepassgo-android.jar
|
|||||||
ANDROID_NDK_ROOT="$(ANDROID_NDK_ROOT)" \
|
ANDROID_NDK_ROOT="$(ANDROID_NDK_ROOT)" \
|
||||||
JAVA_HOME="$(JAVA_HOME)" \
|
JAVA_HOME="$(JAVA_HOME)" \
|
||||||
go tool gogio -target android \
|
go tool gogio -target android \
|
||||||
|
-arch $(APK_ARCH) \
|
||||||
-buildmode exe \
|
-buildmode exe \
|
||||||
-appid $(APP_ID) \
|
-appid $(APP_ID) \
|
||||||
-ldflags "$(GO_LDFLAGS)" \
|
-ldflags "$(GO_LDFLAGS)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user