Closed
Bug 1415742
Opened 7 years ago
Closed 7 years ago
Move channel-prefs.js installation to moz.build and un-set DIST_SUBDIR for browser/app
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: chmanchester, Assigned: chmanchester)
References
Details
Attachments
(1 file)
Moving channel-prefs.js to moz.build was awkward because it didn't end up under dist/bin/browser. Bug 1255485 was awkward for the same reason, so we'll unset DIST_SUBDIR in browser/app and move stuff that needs it elsewhere.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cmanchester
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8926661 -
Flags: review?(core-build-config-reviews)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8926661 [details] Bug 1415742 - Move channel-prefs.js installation to moz.build. https://reviewboard.mozilla.org/r/197906/#review203130 OK, this looks fine. Consider commenting on why `browser/` reaches into `browser/app/`; that's not going to make sense to anybody reading this in the future (if and when `DIST_SUBDIR` dies). ::: commit-message-e2f87:3 (Diff revision 1) > +Bug 1415742 - Move channel-prefs.js installation to moz.build. > + > +This was awkward because it doesn't want to end up under dist/bin/borwser, s/borwser/browser/ ::: browser/app/profile/channel-prefs.js:5 (Diff revision 1) > /* This Source Code Form is subject to the terms of the Mozilla Public > * License, v. 2.0. If a copy of the MPL was not distributed with this > * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ > > +#filter substitution I wonder if there are any preprocessed files that _don't_ want substitution. Maybe we can get rid of this noise some day?
Attachment #8926661 -
Flags: review+
Updated•7 years ago
|
Attachment #8926661 -
Flags: review?(core-build-config-reviews)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
I had to move some DEFINES as well to fix some test failures on try. Re-requesting review...
Assignee | ||
Updated•7 years ago
|
Attachment #8926661 -
Flags: review+ → review?(core-build-config-reviews)
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8926661 [details] Bug 1415742 - Move channel-prefs.js installation to moz.build. https://reviewboard.mozilla.org/r/197906/#review203458 ::: browser/app/moz.build:44 (Diff revision 2) > SOURCES += [ > 'nsBrowserApp.cpp', > ] > > -FINAL_TARGET_FILES += ['blocklist.xml'] > -FINAL_TARGET_FILES.defaults += ['permissions'] > +# Neither channel-prefs.js nor firefox.exe want to end up in dist/bin/browser. > +DIST_SUBDIR = "" super-nit: we generally use single quotes (although I see double quotes in the context in a `Files` subcontext above)
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8926661 [details] Bug 1415742 - Move channel-prefs.js installation to moz.build. https://reviewboard.mozilla.org/r/197906/#review203530 I'm fine with this. ::: browser/moz.build:44 (Diff revision 2) > EXTRA_COMPONENTS += [ > '../build/prebuilt-interfaces.manifest', > ] > > + > +# These defines are read in firefox.js nit: full sentence.
Attachment #8926661 -
Flags: review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8926661 [details] Bug 1415742 - Move channel-prefs.js installation to moz.build. https://reviewboard.mozilla.org/r/197906/#review203532
Attachment #8926661 -
Flags: review+
Updated•7 years ago
|
Attachment #8926661 -
Flags: review?(core-build-config-reviews)
Pushed by cmanchester@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44ad5267ace9 Move channel-prefs.js installation to moz.build. r=nalexander,ted
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/44ad5267ace9
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•