diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-24 13:52:18 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-07-24 17:57:56 +0200 |
commit | 284e42647c375894fa0baf17080680a8545be7a6 (patch) | |
tree | 85d7bf543f62253b0e01d3455966a7221a09e186 /app/build.gradle | |
parent | 3a16c088210733e07ffe6e1b2cc966ddae3fb19b (diff) |
tools: pass in debug package name
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle index 950bb2fa..9729af65 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -40,10 +40,20 @@ android { buildTypes { release { if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release + externalNativeBuild { + cmake { + arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}" + } + } } debug { applicationIdSuffix ".debug" versionNameSuffix "-debug" + externalNativeBuild { + cmake { + arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}${applicationIdSuffix}" + } + } } } externalNativeBuild { |