build: update gomobile build parameters and automate asset generation for AndroidLibXrayLite

This commit is contained in:
zarazaex69
2026-04-03 19:25:16 +03:00
parent 8349499f5f
commit 971cb8a130
2 changed files with 4 additions and 1 deletions
+4 -1
View File
@@ -32,8 +32,11 @@ fi
echo "Building AndroidLibXrayLite (libv2ray.aar)..."
pushd "$__dir/AndroidLibXrayLite" >/dev/null
mkdir -p assets data
bash gen_assets.sh download
cp -v data/*.dat assets/
go mod tidy
gomobile bind -v -androidapi 21 -ldflags='-s -w' -o libv2ray.aar ./
gomobile bind -v -androidapi 24 -trimpath -ldflags='-s -w -buildid=' -o libv2ray.aar ./
popd >/dev/null
echo "Building hev-socks5-tunnel..."
Regular → Executable
View File