summaryrefslogtreecommitdiffstats
path: root/mobile/android/gradle/product_flavors.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/gradle/product_flavors.gradle')
-rw-r--r--mobile/android/gradle/product_flavors.gradle17
1 files changed, 17 insertions, 0 deletions
diff --git a/mobile/android/gradle/product_flavors.gradle b/mobile/android/gradle/product_flavors.gradle
new file mode 100644
index 0000000000..6278d9ff3f
--- /dev/null
+++ b/mobile/android/gradle/product_flavors.gradle
@@ -0,0 +1,17 @@
+/* -*- Mode: Groovy; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+ext.configureProductFlavors = {
+ flavorDimensions "geckoBinaries"
+ productFlavors {
+ withGeckoBinaries {
+ dimension "geckoBinaries"
+ }
+
+ withoutGeckoBinaries {
+ dimension "geckoBinaries"
+ }
+ }
+}