Closed Bug 1570411 Opened 5 years ago Closed 5 years ago

Add `--without-fennec` build flag for building `--enable-application=mobile/android` without Fennec

Categories

(Firefox Build System :: Android Studio and Gradle Integration, task)

task
Not set
normal

Tracking

(firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: nalexander, Assigned: nalexander)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This is a tentative step toward Bug 1570409. During the Gradle transition, we had a lot of success using a --with-gradle flag that eventually became a --without-gradle flag and finally was removed entirely. I think such a flag (and corresponding top-level define) will go a long way to isolating Fennec-specific pieces of the build system (and Gecko itself!) and preparing us to jettison them as we turn mobile/android into GeckoView.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: General → Android Studio and Gradle Integration

When working on GeckoView, there's no need to produce a Fennec APK.
This commit avoids doing that work at mach package time. There are
many other things we'd like to stop doing as we remove Fennec from the
tree, so we add a general flag to guard such things.

Depends on D41447

Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c02aa182735b
Add --without-fennec to make `mach package` not produce Fennec APK. r=chmanchester
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → nalexander
Blocks: 1580356
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: