mirror of
git://f0xx.org/android_cast
synced 2026-07-29 02:59:00 +03:00
vpn service sync
This commit is contained in:
@@ -21,8 +21,13 @@ include ':app'
|
||||
include ':session-studio'
|
||||
project(':session-studio').projectDir = file('desktop/session-studio')
|
||||
|
||||
def wgTunnelDir = file('third-party/wireguard-android/tunnel')
|
||||
if (wgTunnelDir.exists()) {
|
||||
include ':tunnel'
|
||||
project(':tunnel').projectDir = wgTunnelDir
|
||||
def wgTunnelSrc = file('third-party/wireguard-android/tunnel')
|
||||
if (!wgTunnelSrc.isDirectory()) {
|
||||
throw new GradleException(
|
||||
'Missing third-party/wireguard-android/tunnel — run:\n' +
|
||||
' git submodule update --init --recursive third-party/wireguard-android\n' +
|
||||
' bash scripts/init-wireguard-submodule.sh'
|
||||
)
|
||||
}
|
||||
include ':tunnel'
|
||||
project(':tunnel').projectDir = file('gradle/wireguard-tunnel')
|
||||
|
||||
Reference in New Issue
Block a user