Bug 1415220 - Make Fennec build --with-gradle by default. r=maliu draft
authorNick Alexander <nalexander@mozilla.com>
Tue, 07 Nov 2017 09:03:18 -0800
changeset 694311 17968b2f612de98ccca4622721347e52c44d766e
parent 694310 734a930ff176c460da2d9102a8cdfbe5d376b9cd
child 739311 be87b56bed2a6297893b012bf0fed5fbf1558d8d
push id88103
push usernalexander@mozilla.com
push dateTue, 07 Nov 2017 17:16:10 +0000
reviewersmaliu
bugs1415220
milestone58.0a1
Bug 1415220 - Make Fennec build --with-gradle by default. r=maliu This was just an oversight. MozReview-Commit-ID: 4mHbW3gF4Qn
mobile/android/gradle.configure
--- a/mobile/android/gradle.configure
+++ b/mobile/android/gradle.configure
@@ -4,16 +4,17 @@
 # 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/.
 
 # If --with-gradle is specified, build mobile/android with Gradle.  If no
 # Gradle binary is specified, or if --without-gradle is specified, use the in
 # tree Gradle wrapper.  The wrapper downloads and installs Gradle, which is
 # good for local developers but not good in automation.
 option('--with-gradle', nargs='?',
+       default=True,
        help='Enable building mobile/android with Gradle '
             '(argument: location of binary or wrapper (gradle/gradlew))')
 
 @depends('--with-gradle')
 def with_gradle(value):
     if value:
         return True