Closed Bug 1651130 Opened 5 years ago Closed 5 years ago

Add an "installer pieces" build project that compiles only installer related things: updater, Default Browser Agent, Background Update Agent

Categories

(Firefox :: Installer, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 80
Tracking Status
firefox80 --- fixed

People

(Reporter: nalexander, Assigned: nalexander)

References

Details

Attachments

(2 files, 1 obsolete file)

There are a number of bits relevant to the Install/Update team that are compiled code but not part of Firefox proper. Right now, those include:

  1. the updater;
  2. the Windows Default Browser Agent;
  3. the Background Update Agent.

Building Firefox to work on those small pieces is a time consuming. (But sometimes necessary, since especially the updater shares code with Firefox proper.)

This ticket tracks adding an "update pieces" build project (like memory or tools/update-packaging) that builds those pieces separately.

I think I'll try to home this in tools/install-update-programs or similar.

Depends on: 1651136

Can these be made into dependencies of the main Firefox build, so that we don't need to rebuild components?

(In reply to Chris AtLee [:catlee] from comment #2)

Can these be made into dependencies of the main Firefox build, so that we don't need to rebuild components?

It might be possible, but it's really not worth the effort: the total time to build these components is ~2 minutes locally. You can see why it would be nice to be able to focus on these as a member of the Install/Update team, but there's only overhead for folks not focusing on these components.

Assignee: nobody → nalexander
Status: NEW → ASSIGNED

This is just re-arranging the deckchairs in preparation for adding an
"update programs" build project. Here "update programs" refers to the
various standalone binaries we produce in order to update Firefox.
There's not strong conceptual coherence between them; rather, it's the
pieces that the Install/Update team generally work on.

Depends on D82642

Here "update programs" refers to the various standalone binaries we
produce in order to update Firefox. There's not strong conceptual
coherence between them; rather, it's the pieces that the
Install/Update team generally work on.

To use this build project, prepare a minimal mozconfig with
--enable-project=tools/update-programs. Depending on the mozconfig
options and host and target OS, some of the following will be built:

  1. the maintenance service;
  2. the updater binary;
  3. the Windows Default Browser Agent;
  4. the Background Update Agent.

Depends on D82643

Attachment #9162047 - Attachment is obsolete: true
Pushed by nalexander@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be87ca66df9d Part 1: Extract NSS and "update programs" configuration. r=froydnj https://hg.mozilla.org/integration/autoland/rev/3adbd8782bf7 Part 2: Add a new `tools/update-programs` build project. r=froydnj
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: