Nagram/bin/libs/v2ray/build.sh

12 lines
227 B
Bash
Raw Normal View History

2021-03-01 08:02:36 +00:00
#!/usr/bin/env bash
source "bin/init/env.sh"
export GO111MOUDLE=on
2021-03-05 15:09:24 +00:00
export GO386=softfloat
2021-03-01 08:02:36 +00:00
2021-03-05 04:10:37 +00:00
cd "$PROJECT/v2ray"
2021-03-01 08:02:36 +00:00
gomobile init
gomobile bind -v -ldflags='-s -w' . || exit 1
2021-03-05 04:10:37 +00:00
/bin/cp -f libv2ray.aar "$PROJECT/TMessagesProj/libs"