Closed Bug 1353990 Opened 7 years ago Closed 7 years ago

Stop exporting the woff2 and brotli headers

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(2 files)

There aren't enough things using the woff and brotli code to need their headers under dist/include. OTOH, they have similarly (and generically) named headers that conflict with each other. Luckily, it's not apparently currently breaking anything, but that's a bad situation to be in.

To be more specific, woff2_out.h includes port.h. When ots includes that header through woff_dec.h, it picks it up from dist/include, and picks port.h from there too... but port.h in dist/include comes from brotli... and woff has a *different* port.h in modules/woff2/src.
Comment on attachment 8855172 [details]
Bug 1353990 - Stop exporting woff2 headers.

https://reviewboard.mozilla.org/r/127052/#review130116
Attachment #8855172 - Flags: review?(gps) → review+
Comment on attachment 8855173 [details]
Bug 1353990 - Stop exporting brotli headers.

https://reviewboard.mozilla.org/r/127054/#review130118

This makes me wonder if we should have an allow list of exported headers. Obviously we can always allow mozilla/ files. But that's a topic for another day.
Attachment #8855173 - Flags: review?(gps) → review+
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/0d8f901e6435
Stop exporting woff2 headers. r=gps
https://hg.mozilla.org/integration/autoland/rev/5c6da13f6288
Stop exporting brotli headers. r=gps
https://hg.mozilla.org/mozilla-central/rev/0d8f901e6435
https://hg.mozilla.org/mozilla-central/rev/5c6da13f6288
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: