summaryrefslogtreecommitdiffhomepage
path: root/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel')
-rw-r--r--tunnel/build.gradle14
1 files changed, 10 insertions, 4 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index 023bc9ef..894762c9 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -29,19 +29,25 @@ android {
}
}
buildTypes {
- release {
+ all {
externalNativeBuild {
cmake {
targets 'libwg-go.so', 'libwg.so', 'libwg-quick.so'
- arguments "-DANDROID_PACKAGE_NAME=${groupName}", "-DGRADLE_USER_HOME=${project.gradle.gradleUserHomeDir}"
+ arguments "-DGRADLE_USER_HOME=${project.gradle.gradleUserHomeDir}"
+ }
+ }
+ }
+ release {
+ externalNativeBuild {
+ cmake {
+ arguments "-DANDROID_PACKAGE_NAME=${groupName}"
}
}
}
debug {
externalNativeBuild {
cmake {
- targets 'libwg-go.so', 'libwg.so', 'libwg-quick.so'
- arguments "-DANDROID_PACKAGE_NAME=${groupName}.debug", "-DGRADLE_USER_HOME=${project.gradle.gradleUserHomeDir}"
+ arguments "-DANDROID_PACKAGE_NAME=${groupName}.debug"
}
}
}