mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
build: address PR review — fix Android launcher flags, systray tag, rename target
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
.PHONY: dev dev-frontend dev-backend build build-frontend build-dev-picoclaw test lint clean \
|
||||
build-android-arm64 build-all-android
|
||||
build-android-arm64 build-android-bundle
|
||||
|
||||
# Go variables
|
||||
GO?=CGO_ENABLED=0 go
|
||||
@@ -99,7 +99,7 @@ build-android-arm64: build-frontend
|
||||
GOOS=android GOARCH=arm64 $(GO) build -tags stdjson -ldflags "$(LDFLAGS)" -o "$(OUTPUT_ANDROID_ARM64)" ./$(BACKEND_DIR)/
|
||||
|
||||
# Build launcher for all Android architectures
|
||||
build-all-android: build-frontend
|
||||
build-android-bundle: build-frontend
|
||||
@mkdir -p $(BUILD_DIR)
|
||||
GOOS=android GOARCH=arm64 $(GO) build -tags stdjson -ldflags "$(LDFLAGS)" -o "$(BUILD_DIR)/picoclaw-launcher-android-arm64" ./$(BACKEND_DIR)/
|
||||
@echo "All Android launcher builds complete"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build (!darwin && !freebsd && !android) || cgo
|
||||
//go:build !android && ((!darwin && !freebsd) || cgo)
|
||||
|
||||
package main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user