Closed
Bug 912702
Opened 11 years ago
Closed 11 years ago
Minimize the #includes in content/media
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
64.71 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
https://tbpl.mozilla.org/?tree=Try&rev=7ea9f2e7ee52
Attachment #799755 -
Flags: review?(roc)
Attachment #799755 -
Flags: review?(roc) → review+
Assignee | ||
Comment 1•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=21ba4ce5d9ce
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/2f15518f566e
Assignee | ||
Comment 3•11 years ago
|
||
Backed out because of <https://tbpl.mozilla.org/php/getParsedLog.php?id=27436756&tree=Mozilla-Inbound#error1>: https://hg.mozilla.org/integration/mozilla-inbound/rev/2e67cbcf6322
Comment 4•11 years ago
|
||
Something's #defining version_major or version_minor?
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to comment #4) > Something's #defining version_major or version_minor? Seems like it, but the question is, what code does that? It surely is not in mozilla-central: <http://mxr.mozilla.org/mozilla-central/search?string=version_major&case=on&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central>
Assignee | ||
Comment 6•11 years ago
|
||
Yay! hardware/libhardware/include/hardware/hardware.h:112:#define version_major module_api_version
Assignee | ||
Comment 7•11 years ago
|
||
Here's how this thing is pulled in: /media/storage/moz/b2g-jb-emu/gecko/content/media/ogg/OggCodecState.h ../../../dist/include/mozilla/dom/HTMLMediaElement.h ../../../dist/include/mozilla/dom/TextTrack.h ../../../dist/include/nsDOMEventTargetHelper.h ../../../dist/include/nsEventListenerManager.h ../../../dist/include/nsGUIEvent.h ../../../dist/include/nsIWidget.h ../../../dist/include/mozilla/layers/LayersTypes.h /media/storage/moz/b2g-jb-emu/frameworks/native/include/ui/GraphicBuffer.h /media/storage/moz/b2g-jb-emu/frameworks/native/include/ui/ANativeObjectBase.h /media/storage/moz/b2g-jb-emu/hardware/libhardware/include/hardware/gralloc.h /media/storage/moz/b2g-jb-emu/hardware/libhardware/include/hardware/hardware.h
Assignee | ||
Comment 8•11 years ago
|
||
Fixing that is very difficult, since VideoSegment.h #includes ImageContainer.h which would transitively #include LayersTypes.h which #includes <ui/GraphicBuffer.h>. I'm just going to go ahead with the #undef trick.
Assignee | ||
Comment 9•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cb8146788ab1
Comment 10•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cb8146788ab1
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•