Closed
Bug 1230750
Opened 9 years ago
Closed 9 years ago
Add all generated headers in GENERATED_FILES to EXPORTS, remove Makefile.in INSTALL_TARGETS rules
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: ted, Assigned: ajkerrigan, Mentored)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
bug 1160185 added handling for files listed in GENERATED_FILES to be listed in EXPORTS, like so (the ordering is not important):
```
GENERATED_FILES += ['g.h']
EXPORTS += ['!g.h']
```
That patch only fixed one instance though:
https://hg.mozilla.org/integration/mozilla-inbound/diff/3ca0a1e37264/accessible/xpcom/moz.build
https://hg.mozilla.org/integration/mozilla-inbound/diff/3ca0a1e37264/accessible/xpcom/Makefile.in
We have a bunch of places in the tree right now where there are headers in GENERATED_FILES and then INSTALL_TARGETS rules in Makefile.in to export them:
https://dxr.mozilla.org/mozilla-central/search?q=path%3Amoz.build+regexp%3AGENERATED_FILES.*\.h&redirect=true&case=false
We should fix these all to just list the files in EXPORTS and remove the Makefile.in bits.
Comment 1•9 years ago
|
||
Hi, do you think this bug is suitable for a beginner and if it is, could you please tell me how I could go about solving it?
Comment 2•9 years ago
|
||
Hi, Varun - This probably isn't a good starter bug, but if you'd like to email me and tell me a bit about your skillset I can connect you with one.
Assignee | ||
Comment 3•9 years ago
|
||
I'd like to work on this bug. Would you mind assigning it to me?
Flags: needinfo?(mhoye)
Comment 4•9 years ago
|
||
You've got it. Ted, I'd like to introduce you to AJ; AJ, if you've got any questions about this Ted is good people, and you can needinfo him by picking "mentor".
Assignee: nobody → ajkerrigan
Flags: needinfo?(mhoye)
Reporter | ||
Comment 5•9 years ago
|
||
Hey AJ! If you look at the dxr link in comment 0 you can see the list of places that need fixing. If you don't want to tackle them all at once feel free to file separate bugs to work on them one at a time (or a few at a time, whatever works).
If you look at the hg.mozilla.org diff links there you can see what fixing a single instance of this looks like. Feel free to ping me on IRC (as ted) or email me directly if you have questions.
Assignee | ||
Comment 6•9 years ago
|
||
Add GENERATED_FILES headers to EXPORTS inside moz.build, and
remove associated Makefile.in rules.
Review commit: https://reviewboard.mozilla.org/r/32157/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/32157/
Assignee | ||
Updated•9 years ago
|
Attachment #8711409 -
Flags: review?(ted)
Reporter | ||
Updated•9 years ago
|
Attachment #8711409 -
Flags: review?(ted) → review+
Reporter | ||
Comment 7•9 years ago
|
||
Comment on attachment 8711409 [details]
MozReview Request: Bug 1230750 - Export GENERATED_FILES headers from moz.build; r?ted.mielczarek
https://reviewboard.mozilla.org/r/32157/#review28979
This set of changes looks good, thanks!
Assignee | ||
Comment 8•9 years ago
|
||
Assignee | ||
Comment 9•9 years ago
|
||
Waiting to request check-in until Bug 1242663 lands, so this fix won't require a clobber.
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•9 years ago
|
||
Keywords: checkin-needed
Comment 11•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Comment 12•9 years ago
|
||
bugherder |
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
•