Closed Bug 1547769 Opened 5 years ago Closed 4 years ago

Provide a way to ./mach run the result of a desktop Firefox ./mach build **and** ./mach package

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: Gijs, Assigned: florian)

References

Details

Attachments

(1 file)

I can use ./mach mochitest --appname dist --no-autorun but it's kinda cumbersome and I can't pick my own profile to use (so no add-ons pre-installed, like, say, the gecko profiler).

The main difference between the result of ./mach build and ./mach package is that one uses omni.ja and one doesn't.

Type: defect → enhancement
Component: General → Mach Core
Product: Conduit → Firefox Build System

This is pretty similar to Bug 1550146, which is to do something similar for Android. Of course, Android builds must package to be useful, but it suggests that more people want to test packaged builds than perhaps we anticipated on Desktop.

See Also: → 1550146

One case where not having a packaged build is really annoying is when doing startup profiling. The easiest way to grab a startup profile is to run MOZ_PROFILER_STARTUP=1 mach run, but that gives a pretty irrelevant startup profile because non-packaged builds without omni.ja file do a LOT more main thread I/O during startup.

I think it would be very convenient if we could tell mach run to use a packaged build with just a --packaged command line parameter.

Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7a55ddc45c87
add --packaged parameter on |mach run| to run a packaged build, r=andi
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: