File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 5353 - name : go compile
5454 run : make build
5555
56+ - name : gomobile install
57+ run : go install golang.org/x/mobile/cmd/gomobile@latest
58+
59+ - name : gomobile init
60+ run : gomobile init
61+
62+ - name : android compile
63+ run : make android
64+
5665 - name : wasm compile
5766 run : make wasm
5867
Original file line number Diff line number Diff line change 8686android :
8787 @$(call print, "Building Android library ($(ANDROID_BUILD ) ) ." )
8888 mkdir -p $(ANDROID_BUILD_DIR )
89- GOOS=js $(GOMOBILE_BIN ) bind -target=android -tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(ANDROID_BUILD ) $(MOBILE_PKG )
89+ GOOS=js $(GOMOBILE_BIN ) bind -target=android -androidapi=21 - tags=" mobile $( DEV_TAGS) $( RPC_TAGS) " $(LDFLAGS_MOBILE ) -v -o $(ANDROID_BUILD ) $(MOBILE_PKG )
9090
9191mobile : ios android
9292
You can’t perform that action at this time.
0 commit comments