mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-17 05:13:08 +00:00
tmp
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
878f0dab01
commit
6dff469edc
@ -23,18 +23,21 @@ in buildGoModule {
|
||||
proxyVendor = true;
|
||||
|
||||
ANDROID_HOME = "${androidSdk}/libexec/android-sdk";
|
||||
ANDROID_NDK_ROOT = "${androidSdk}/libexec/android-sdk/ndk-bundle";
|
||||
ANDROID_NDK_HOME = "${androidSdk}/libexec/android-sdk/ndk-bundle";
|
||||
#GOMOBILE = pkgs.gomobile;
|
||||
#GOHOSTARCH = "amd64";
|
||||
#GO111MODULE = "off";
|
||||
GO111MODULE = "off";
|
||||
GOMOBILE = gomobile;
|
||||
|
||||
shellHook = ''
|
||||
env | grep -E '^(ANDROID|GO)'
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook shellHook
|
||||
unset GOARCH
|
||||
gomobile bind -x \
|
||||
-target=android/arm64 \
|
||||
-androidapi=23 \
|
||||
-ldflags="-s -w" \
|
||||
-o ./build/lib/Gowaku.xcframework \
|
||||
-o ./build/lib/gowaku.aar \
|
||||
./mobile
|
||||
'';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user