|
|
@ -52,7 +52,7 @@ endif
|
|
|
|
|
|
|
|
|
|
|
|
$(DEBUG_APK): toolchain
|
|
|
|
$(DEBUG_APK): toolchain
|
|
|
|
mkdir -p android/libs
|
|
|
|
mkdir -p android/libs
|
|
|
|
go run gioui.org/cmd/gogio -buildmode archive -target android -appid $(APPID) -o $(AAR) github.com/tailscale/tailscale-android/cmd/tailscale
|
|
|
|
go run gioui.org/cmd/gogio -buildmode archive -target android -appid $(APPID) -tags novulkan -o $(AAR) github.com/tailscale/tailscale-android/cmd/tailscale
|
|
|
|
(cd android && ./gradlew assemblePlayDebug)
|
|
|
|
(cd android && ./gradlew assemblePlayDebug)
|
|
|
|
mv android/build/outputs/apk/play/debug/android-play-debug.apk $@
|
|
|
|
mv android/build/outputs/apk/play/debug/android-play-debug.apk $@
|
|
|
|
|
|
|
|
|
|
|
@ -65,7 +65,7 @@ rundebug: $(DEBUG_APK)
|
|
|
|
# This is useful for testing on e.g. Amazon Fire Stick devices.
|
|
|
|
# This is useful for testing on e.g. Amazon Fire Stick devices.
|
|
|
|
tailscale-fdroid.apk: toolchain
|
|
|
|
tailscale-fdroid.apk: toolchain
|
|
|
|
mkdir -p android/libs
|
|
|
|
mkdir -p android/libs
|
|
|
|
go run gioui.org/cmd/gogio -buildmode archive -target android -appid $(APPID) -o $(AAR) github.com/tailscale/tailscale-android/cmd/tailscale
|
|
|
|
go run gioui.org/cmd/gogio -buildmode archive -target android -appid $(APPID) -tags novulkan -o $(AAR) github.com/tailscale/tailscale-android/cmd/tailscale
|
|
|
|
(cd android && ./gradlew assembleFdroidDebug)
|
|
|
|
(cd android && ./gradlew assembleFdroidDebug)
|
|
|
|
mv android/build/outputs/apk/fdroid/debug/android-fdroid-debug.apk $@
|
|
|
|
mv android/build/outputs/apk/fdroid/debug/android-fdroid-debug.apk $@
|
|
|
|
|
|
|
|
|
|
|
@ -73,7 +73,7 @@ tailscale-fdroid.apk: toolchain
|
|
|
|
release_aar: toolchain
|
|
|
|
release_aar: toolchain
|
|
|
|
release_aar:
|
|
|
|
release_aar:
|
|
|
|
mkdir -p android/libs
|
|
|
|
mkdir -p android/libs
|
|
|
|
go run gioui.org/cmd/gogio -ldflags "-X tailscale.com/version.Long=$(VERSIONNAME) -X tailscale.com/version.Short=$(VERSIONNAME_SHORT) -X tailscale.com/version.GitCommit=$(TAILSCALE_COMMIT) -X tailscale.com/version.ExtraGitCommit=$(OUR_VERSION)" -buildmode archive -target android -appid $(APPID) -o $(AAR) github.com/tailscale/tailscale-android/cmd/tailscale
|
|
|
|
go run gioui.org/cmd/gogio -ldflags "-X tailscale.com/version.Long=$(VERSIONNAME) -X tailscale.com/version.Short=$(VERSIONNAME_SHORT) -X tailscale.com/version.GitCommit=$(TAILSCALE_COMMIT) -X tailscale.com/version.ExtraGitCommit=$(OUR_VERSION)" -buildmode archive -target android -appid $(APPID) -tags novulkan -o $(AAR) github.com/tailscale/tailscale-android/cmd/tailscale
|
|
|
|
|
|
|
|
|
|
|
|
$(RELEASE_AAB): release_aar
|
|
|
|
$(RELEASE_AAB): release_aar
|
|
|
|
(cd android && ./gradlew bundlePlayRelease)
|
|
|
|
(cd android && ./gradlew bundlePlayRelease)
|
|
|
|