Closed
Bug 1299276
Opened 8 years ago
Closed 8 years ago
Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox51 fixed)
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: bholley, Unassigned)
References
Details
Attachments
(1 file)
When we switched to building stylo with m-c cargo, we stopped passing --with-servo (since that expects a path to an external libgeckoservo.a to link).
However, that also means that we lose the automatic definition of MOZ_STYLO everywhere. I originally just hammered this into my .mozconfig with:
> export CFLAGS="-DMOZ_STYLO"
> export CXXFLAGS="-DMOZ_STYLO"
But I realized today that this misses the JS preprocessor, which means that our stylo pref in [1] doesn't get activated.
Nathan suggested separating the two into separate configure options. I've done this, and he r+ed the patch on IRC.
[1] http://searchfox.org/mozilla-central/rev/064025c802c22cd5ad122746733cbd34ea47393c/modules/libpref/init/all.js#5535
Reporter | ||
Comment 1•8 years ago
|
||
Attachment #8786460 -
Flags: review+
Pushed by bholley@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/96e4aed6d414
Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj
I had to back this out for build bustage like https://treeherder.mozilla.org/logviewer.html#?job_id=34990873&repo=mozilla-inbound#L18506
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca5efad1f688
Flags: needinfo?(bobbyholley)
Landed a clobber touch because even the backout was busted: https://hg.mozilla.org/integration/mozilla-inbound/rev/4d5428813b26
Reporter | ||
Comment 5•8 years ago
|
||
(In reply to Wes Kocher (:KWierso) from comment #4)
> Landed a clobber touch because even the backout was busted:
> https://hg.mozilla.org/integration/mozilla-inbound/rev/4d5428813b26
Sorry about that, footgun when modifying build config. MOZ_STYLO was always getting set to true. 1-line fix which I've verified locally.
Filed bug 1299332 about the clobber.
Flags: needinfo?(bobbyholley)
Reporter | ||
Comment 6•8 years ago
|
||
belt-and-suspenders: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e921c12f3d60
Pushed by bholley@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/4b36234946e3
Add a separate --enable-stylo option to control MOZ_STYLO separate from the linkage effects of --with-servo. r=froydnj
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Updated•8 years ago
|
Blocks: stylo-nightly-build
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•