summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-10-30 18:54:47 +0100
committercyBerta <cyberta@riseup.net>2023-10-31 18:53:25 +0100
commit57a9eec96ad4ebe92539cbd384ed459d617ddf7f (patch)
tree14e740ef9b98b31d5552345b4de7c994ae06eb32
parent36c74b27769bf71256751f66610e36cd3c013a72 (diff)
update build_deps.sh and build.gradle after ics-openvpn's task name to build native libs changed
-rw-r--r--app/build.gradle2
-rwxr-xr-xscripts/build_deps.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 6439298a..305292db 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -308,7 +308,7 @@ android {
'ovpnlibs/assets',
'../ics-openvpn/main/build/ovpnassets',
]
- jniLibs.srcDirs = ['../ics-openvpn/main/build/intermediates/cmake/skeletonRelease/obj/']
+ jniLibs.srcDirs = ['../ics-openvpn/main/build/intermediates/cmake/skeletonOvpn2Release/obj/']
jni.srcDirs = [] //disable automatic ndk-build
}
diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh
index d1d42576..20ed016b 100755
--- a/scripts/build_deps.sh
+++ b/scripts/build_deps.sh
@@ -71,7 +71,7 @@ elif [[ $(ls -A ${DIR_OVPNASSETS}) && $(ls -A ${DIR_OVPNLIBS}) ]]; then
else
echo "Clean build: starting externalNativeBuild"
cd ./ics-openvpn || quit "Directory ics-opevpn not found"
- ./gradlew clean main:externalNativeBuildCleanSkeletonRelease main:externalNativeBuildSkeletonRelease --debug --stacktrace || quit "Build ics-openvpn native libraries failed"
+ ./gradlew clean main:externalNativeBuildCleanSkeletonOvpn2Release main:externalNativeBuildSkeletonOvpn2Release --debug --stacktrace || quit "Build ics-openvpn native libraries failed"
./gradlew --stop
cd ..
fi