Closed
Bug 1407403
Opened 7 years ago
Closed 7 years ago
Handle IPDL generation in the tup backend
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: mshal, Assigned: mshal)
References
Details
Attachments
(1 file)
We need to implement the _handle_ipdl_sources function in the tup backend, and do something similar to ipc/ipdl/Makefile.in. I think this is made slightly tricky for tup since the outputs aren't known ahead of time.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mshal
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8922100 -
Flags: review?(core-build-config-reviews)
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8922100 [details] Bug 1407403 - Handle IPDL code generation in the tup backend; https://reviewboard.mozilla.org/r/193102/#review198380 Another unfortunate build system hack :/ But I don't see an obvious easy way around this. Given that perfect is very much the enemy for Tup support at this juncture, let's land this and optimize/improve it later. ::: python/mozbuild/mozbuild/backend/tup.py:452 (Diff revision 1) > + sys.path.append(mozpath.join(self.environment.topsrcdir, 'ipc', 'ipdl')) > + import ipdl We shouldn't need to do this. But I don't want to scope bloat you.
Attachment #8922100 -
Flags: review+
Updated•7 years ago
|
Attachment #8922100 -
Flags: review?(core-build-config-reviews)
Comment 3•7 years ago
|
||
I don't think anybody would complain too loudly if the ipdl namespacing of headers went away, FWIW. Put them under mozilla/ipdl/ if necessary.
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8922100 [details] Bug 1407403 - Handle IPDL code generation in the tup backend; https://reviewboard.mozilla.org/r/193102/#review198386 ::: python/mozbuild/mozbuild/backend/tup.py:473 (Diff revision 1) > + (filepath, ext) = os.path.splitext(filename) > + (dirname, basename) = os.path.split(filepath) nit: parens around these tuples aren't necessary
Comment 5•7 years ago
|
||
(In reply to Nathan Froyd [:froydnj] from comment #3) > I don't think anybody would complain too loudly if the ipdl namespacing of > headers went away, FWIW. Put them under mozilla/ipdl/ if necessary. I mentioned this yesterday, but this was annoying for my "upload generated sources" patch as well. Let's file a followup for that since mshal already has this working.
Comment 6•7 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #5) > (In reply to Nathan Froyd [:froydnj] from comment #3) > > I don't think anybody would complain too loudly if the ipdl namespacing of > > headers went away, FWIW. Put them under mozilla/ipdl/ if necessary. > > I mentioned this yesterday, but this was annoying for my "upload generated > sources" patch as well. Let's file a followup for that since mshal already > has this working. Done, filed bug 1411969.
Assignee | ||
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8922100 [details] Bug 1407403 - Handle IPDL code generation in the tup backend; https://reviewboard.mozilla.org/r/193102/#review198588 ::: python/mozbuild/mozbuild/backend/tup.py:473 (Diff revision 1) > + (filepath, ext) = os.path.splitext(filename) > + (dirname, basename) = os.path.split(filepath) Fixed, thanks!
Comment hidden (mozreview-request) |
Pushed by mshal@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/26c1d50db1c1 Handle IPDL code generation in the tup backend; r=gps
Comment 10•7 years ago
|
||
Backed out for py-compat failure: python/mozbuild/mozbuild/backend/tup.py:470:124 | inconsistent use of tabs and spaces in indentation: https://hg.mozilla.org/integration/autoland/rev/99c40288511ac903e786ea0cb3fa74c1d2324fed Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=139868325&repo=autoland
Flags: needinfo?(mshal)
Assignee | ||
Comment 11•7 years ago
|
||
Hmm, no idea how those got in there. Editor settings seem fine...
Flags: needinfo?(mshal)
Comment hidden (mozreview-request) |
Comment 13•7 years ago
|
||
Pushed by mshal@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bcb6adf5707c Handle IPDL code generation in the tup backend; r=gps
Comment 14•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bcb6adf5707c
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
•