summaryrefslogtreecommitdiffhomepage
path: root/tunnel
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-29 01:18:38 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-29 01:18:46 -0600
commit79e766c4e1c6fd3a16e35e5fc17d3fe2c3c40fc0 (patch)
tree9242df428394398a184197b9a16bb6e8e835113a /tunnel
parent183273dcf5b5aaebbd541b44dc3631781fbb661b (diff)
tunnel: fix package name being passed through to cmake
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tunnel')
-rw-r--r--tunnel/build.gradle16
1 files changed, 16 insertions, 0 deletions
diff --git a/tunnel/build.gradle b/tunnel/build.gradle
index f306292c..2f5835c1 100644
--- a/tunnel/build.gradle
+++ b/tunnel/build.gradle
@@ -26,6 +26,22 @@ android {
events 'passed', 'skipped', 'failed', 'standardOut', 'standardError'
}
}
+ buildTypes {
+ release {
+ externalNativeBuild {
+ cmake {
+ arguments "-DANDROID_PACKAGE_NAME=${groupName}"
+ }
+ }
+ }
+ debug {
+ externalNativeBuild {
+ cmake {
+ arguments "-DANDROID_PACKAGE_NAME=${groupName}.debug"
+ }
+ }
+ }
+ }
}
dependencies {