summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 6c1bf394..1fa344b8 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -344,7 +344,6 @@ android {
* normalProductionFatDebug -> Bitmask development build, includes all ABIS
* customProductionFatwebDebug -> branded development build, includes all ABIs, for distribution through a download page
* normalProductionFatWebDebug -> Bitmask development build, includes all ABIS, for distribution through a download page
- * customInsecureFatDebug -> branded development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs
* normalInsecureFatDebug -> Bitmask development build, doesn't checks certificates (for test server setup w/o valid certificates), includes all ABIs
*
* Branded Releases:
@@ -377,10 +376,12 @@ android {
def buildTypeName = variant.buildType.name
// flavorDimensions "branding" -> 0, "implementation" -> 1, "abi" -> 2
def supportsSplitApk = variant.flavors[0].splitApk
+ def branding = variant.flavors[0].name
// To check for a certain build type, use variant.buildType.name == "<buildType>"
if (((names.contains("insecure") && !names.contains("fat")) ||
(names.contains("insecure") && buildTypeName.contains("beta")) ||
(names.contains("insecure") && buildTypeName.contains("release")) ||
+ (names.contains("insecure") && branding.contains("custom")) ||
(buildTypeName.contains("debug") && !(names.contains("fatweb") || names.contains("fat"))) ||
(names.contains("fatweb") && buildTypeName.contains("beta")) ||
(!supportsSplitApk && !names.contains("fat")))