diff --git a/src/cordova/plugin/android/scripts/copy_third_party.js b/src/cordova/plugin/android/scripts/copy_third_party.js index 9f8e6388eb..96c7242a4e 100644 --- a/src/cordova/plugin/android/scripts/copy_third_party.js +++ b/src/cordova/plugin/android/scripts/copy_third_party.js @@ -18,7 +18,7 @@ const fs = require('fs/promises'); const path = require('node:path'); const ANDROID_LIBS_FOLDER_PATH = path.join('plugins', 'cordova-plugin-outline', 'android', 'libs'); -const TUN2SOCKS_ANDROID_FOLDER_PATH = path.join('third_party', 'outline-go-tun2socks', 'android'); +const TUN2SOCKS_ANDROID_FOLDER_PATH = path.join('output', 'build', 'android'); module.exports = async function (context) { console.log('Copying Android third party libraries...'); diff --git a/third_party/outline-go-tun2socks/LICENSE b/third_party/outline-go-tun2socks/LICENSE deleted file mode 100644 index 3cc95f21ad..0000000000 --- a/third_party/outline-go-tun2socks/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 eycorsican - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/third_party/outline-go-tun2socks/METADATA b/third_party/outline-go-tun2socks/METADATA deleted file mode 100644 index 50a9d77a15..0000000000 --- a/third_party/outline-go-tun2socks/METADATA +++ /dev/null @@ -1,11 +0,0 @@ -name: "outline-go-tun2socks" -description: "Go network stack based on go-tun2socks and go-shadowsocks." - -third_party { - url { - type: GIT - value: "https://github.com/Jigsaw-Code/outline-go-tun2socks" - } - version: "2.2.1" - last_upgrade_date { year: 2022 month: 4 day: 20 } -} \ No newline at end of file diff --git a/third_party/outline-go-tun2socks/android/jni/arm64-v8a/libgojni.so b/third_party/outline-go-tun2socks/android/jni/arm64-v8a/libgojni.so deleted file mode 100644 index 51e575d441..0000000000 Binary files a/third_party/outline-go-tun2socks/android/jni/arm64-v8a/libgojni.so and /dev/null differ diff --git a/third_party/outline-go-tun2socks/android/jni/armeabi-v7a/libgojni.so b/third_party/outline-go-tun2socks/android/jni/armeabi-v7a/libgojni.so deleted file mode 100644 index 6147d1c0a1..0000000000 Binary files a/third_party/outline-go-tun2socks/android/jni/armeabi-v7a/libgojni.so and /dev/null differ diff --git a/third_party/outline-go-tun2socks/android/jni/x86/libgojni.so b/third_party/outline-go-tun2socks/android/jni/x86/libgojni.so deleted file mode 100644 index 90324da099..0000000000 Binary files a/third_party/outline-go-tun2socks/android/jni/x86/libgojni.so and /dev/null differ diff --git a/third_party/outline-go-tun2socks/android/jni/x86_64/libgojni.so b/third_party/outline-go-tun2socks/android/jni/x86_64/libgojni.so deleted file mode 100644 index 32ad8aca0a..0000000000 Binary files a/third_party/outline-go-tun2socks/android/jni/x86_64/libgojni.so and /dev/null differ diff --git a/third_party/outline-go-tun2socks/android/tun2socks.aar b/third_party/outline-go-tun2socks/android/tun2socks.aar deleted file mode 100644 index c0a2231c32..0000000000 Binary files a/third_party/outline-go-tun2socks/android/tun2socks.aar and /dev/null differ