| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | source "bin/init/env.sh" |
| 4 | export GO111MOUDLE=on |
| 5 | export GO386=softfloat |
| 6 | |
| 7 | cd "$PROJECT/v2ray" |
| 8 | gomobile init |
| 9 | gomobile bind -v -ldflags='-s -w' . || exit 1 |
| 10 | |
| 11 | mkdir -p "$PROJECT/TMessagesProj/libs" |
| 12 | /bin/cp -f libv2ray.aar "$PROJECT/TMessagesProj/libs" |
| 13 | |