Add build script to properly handle RNP's config.h.in file with #cmakedefine's instead of mangling during source updates
Categories
(Thunderbird :: Build Config, task)
Tracking
(thunderbird_esr102 fixed)
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | fixed |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(3 files)
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
wsmwk
:
approval-comm-esr102+
|
Details | Review |
Mangling RNP's config.h.in via the update_rnp.sh script would be better handled by a build script that does the preprocessing at build time.
The generator script needs to handle the #cmakedefine
lines and accept -D
arguments to set additional DEFINE's beyond what is set at configure time in config.status.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Right now config.h.in is rewritten when the RNP source is updated.
This has caused problems when new lines are added to it.
Depends on D157151
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D157152
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/688752ceab6d
Stop rewriting RNP config.h.in when updating the source from upstream. r=dandarnell
https://hg.mozilla.org/comm-central/rev/dffc4e833cdf
Add build script to preprocess CMake config.h templates. r=dandarnell
https://hg.mozilla.org/comm-central/rev/b53ebf6b4a3f
Get RNP version during configure and set in config.h. r=dandarnell
Comment 5•1 year ago
|
||
Suggesting uplift to esr102, dependency for new RNP.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 6•1 year ago
|
||
Comment on attachment 9294320 [details]
Bug 1790446 - Get RNP version during configure and set in config.h. r=dandarnell
[Triage Comment]
Approved for esr102
Comment 7•1 year ago
|
||
Comment on attachment 9294317 [details]
Bug 1790446 - Stop rewriting RNP config.h.in when updating the source from upstream. r=dandarnell
[Triage Comment]
Approved for esr102
Comment 8•1 year ago
|
||
Comment on attachment 9294319 [details]
Bug 1790446 - Add build script to preprocess CMake config.h templates. r=dandarnell
[Triage Comment]
Approved for esr102
Assignee | ||
Comment 9•1 year ago
|
||
bugherder uplift |
Description
•