mirror of
https://github.com/openlibrecommunity/olcng.git
synced 2026-07-03 14:05:17 +02:00
build: update gomobile build parameters and automate asset generation for AndroidLibXrayLite
This commit is contained in:
@@ -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
Reference in New Issue
Block a user