This repository was archived by the owner on Sep 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-14
lines changed
go/src/github.com/ginuerzh Expand file tree Collapse file tree 3 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33android {
4- compileSdkVersion 28
4+ compileSdkVersion 29
55 defaultConfig {
66 applicationId " com.github.shadowsocks.plugin.gost"
77 minSdkVersion 21
8- targetSdkVersion 28
9- versionCode 281
10- versionName " 2.8.1"
8+ targetSdkVersion 29
9+ versionCode 2812
10+ versionName " 2.8.1-2 "
1111 }
1212 splits {
1313 abi {
@@ -19,7 +19,7 @@ android {
1919 }
2020 signingConfigs {
2121 releaseConfig {
22- storeFile file(" ../../xausky .jks" )
22+ storeFile file(System . getenv( " HOME " ) + " /.android .jks" )
2323 storePassword System . getenv(" KEYSTORE_PASS" )
2424 keyAlias System . getenv(" ALIAS_NAME" )
2525 keyPassword System . getenv(" ALIAS_PASS" )
Original file line number Diff line number Diff line change 11cd $( cd " $( dirname " $0 " ) " && pwd )
2- CC=$ANDROID_NDK_ROOT /toolchains/llvm/prebuilt/linux-x86_64/bin/ armv7a-linux-androideabi21-clang \
2+ CC=$( find $ ANDROID_NDK_ROOT | grep ' armv7a-linux-androideabi21-clang$ ' ) \
33GOOS=" android" GOARCH=" arm" CGO_ENABLED=" 1" \
4- go build -a -o ../jniLibs/armeabi-v7a/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
4+ go build -ldflags " -s -w " - a -o ../jniLibs/armeabi-v7a/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
55
6- CC=$ANDROID_NDK_ROOT /toolchains/llvm/prebuilt/linux-x86_64/bin/ aarch64-linux-android21-clang \
6+ CC=$( find $ ANDROID_NDK_ROOT | grep ' aarch64-linux-android21-clang$ ' ) \
77GOOS=" android" GOARCH=" arm64" CGO_ENABLED=" 1" \
8- go build -a -o ../jniLibs/arm64-v8a/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
8+ go build -ldflags " -s -w " - a -o ../jniLibs/arm64-v8a/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
99
10- CC=$ANDROID_NDK_ROOT /toolchains/llvm/prebuilt/linux-x86_64/bin/ i686-linux-android21-clang \
10+ CC=$( find $ ANDROID_NDK_ROOT | grep ' i686-linux-android21-clang$ ' ) \
1111GOOS=" android" GOARCH=" 386" CGO_ENABLED=" 1" \
12- go build -a -o ../jniLibs/x86/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
12+ go build -ldflags " -s -w " - a -o ../jniLibs/x86/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
1313
14- CC=$ANDROID_NDK_ROOT /toolchains/llvm/prebuilt/linux- x86_64/bin/x86_64 -linux-android21-clang \
14+ CC=$( find $ ANDROID_NDK_ROOT | grep ' x86_64-linux-android21-clang$ ' ) \
1515GOOS=" android" GOARCH=" amd64" CGO_ENABLED=" 1" \
16- go build -a -o ../jniLibs/x86_64/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
16+ go build -ldflags " -s -w " - a -o ../jniLibs/x86_64/libgost-plugin.so github.com/ginuerzh/gost/cmd/gost
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments