Closed Bug 1378400 Opened 7 years ago Closed 5 years ago

Expose a build time flag to build firefox without DevTools

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(firefox57 fix-optional)

RESOLVED WONTFIX
Tracking Status
firefox57 --- fix-optional

People

(Reporter: ochameau, Unassigned)

References

Details

Attachments

(1 file)

For now, you can set MOZ_DEVTOOLS=addon in browser/confvars.sh to prevent shipping DevTools.
But we would need a build time flag to easily test Firefox with/without DevTools.
DevTools bug triage (filter on CLIMBING SHOES).
Priority: -- → P3
Bug 1363533 introduced MOZ_DEVTOOLS=addon, this new patch allows setting:
  ac_add_options --enable-devtools=addon
in order to enable DevTools shim and no longer ship devtools in Firefox.

You can also use:
* "server" to only ship the backend with actors and debugger server
* "all" to ship everything (what we currently do), but that may be useful for other application like thunderbird, qbrt, ...
Comment on attachment 8885274 [details]
Bug 1378400 - Expose mozconfig flag to control devtools packaging.

https://reviewboard.mozilla.org/r/156144/#review161810

Please don't put new things in old-configure.in. Instead, this should go in moz.configure, probably in toolkit/moz.configure. Also flag glandium for the next review, as he's more in tune with moz.configure work.

Otherwise, this approach seems reasonable.
Attachment #8885274 - Flags: review?(gps) → review-
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: