Open Bug 1411969 Opened 8 years ago Updated 3 years ago

move IPDL-generated headers into mozilla/ipdl, without namespacing them

Categories

(Core :: IPC, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox58 --- affected

People

(Reporter: froydnj, Unassigned)

Details

The headers generated from IPDL currently wind up in directories corresponding to the namespaces they are declared in. This decision means that it's difficult to tell where the headers live without parsing the files to determine namespaces. Speaking only for myself, I find the nested directories somewhat annoying when I need to examine the headers; the structure here is unlike virtually every other header we have in mozilla-central. Dropping the directory structure (which I don't think is really buying us anything) would solve this problem: this issue came up in bug 1407403 (and is probably an issue for any number of alternate compile backends), and Ted said it was also a pain to deal with this for his uploading of generated sources work.
Would this mean we would have to change everything that includes "mozilla/xyz/PFoo.h" to instead include "PFoo.h"?
(In reply to Bill McCloskey (:billm) from comment #1) > Would this mean we would have to change everything that includes > "mozilla/xyz/PFoo.h" to instead include "PFoo.h"? Those includes would need to be changed, yes.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.