Closed Bug 1976038 Opened 1 year ago Closed 1 year ago

Make zucchini partial generation use our in-tree built zucchini executable

Categories

(Release Engineering :: General, task)

Tracking

(firefox146 fixed)

RESOLVED FIXED
Tracking Status
firefox146 --- fixed

People

(Reporter: yannis, Assigned: yannis)

References

(Blocks 1 open bug)

Details

Attachments

(2 external files)

In bug 1919654, we landed a partials-zucchini task that generates partials by building and using the zucchini binary from upstream chromium. After the landing of bug 1950060 we will have our own binary generated from an in-tree vendoring. For compatibility reasons, partials-zucchini should use this binary rather than the one from upstream if possible.

Possible reasons for incompatibility include:

  • desynchronization between the versions of Zucchini used by partials-zucchini and our in-tree vendoring;
  • different choices in supported features, for example our in-tree vendoring will not support DEX because we don't plan to ship Android-related files as part of our updates, so if somehow (admittedly that is very unlikely) we were to generate a partial that contains a patch for a Dalvik executable, the patch generated by partials-zucchini would be unprocessable by updater.exe.
Depends on: 1950060
See Also: 1950060 →

This lets us build the standalone zucchini binary without building all
Firefox, by using a mozconfig file containing:

ac_add_options --enable-project="tools/zucchini"

Assignee: nobody → yjuglaret
Status: NEW → ASSIGNED

We stop relying on the chromium build system and tools, and instead
build the standalone zucchini binary directly from our own source tree.
This uses the tools/zucchini build project, to avoid having to build all
Firefox.

Pushed by yjuglaret@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/33610f84b07d https://hg.mozilla.org/integration/autoland/rev/e28ed0d2d4c8 Add a build project for the standalone zucchini binary. r=firefox-build-system-reviewers,sergesanspaille https://github.com/mozilla-firefox/firefox/commit/63ed6d500144 https://hg.mozilla.org/integration/autoland/rev/04d56c52a6a5 Update linux64-zucchini-bin jobs to build from our own source tree. r=hneiva
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: