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)
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Attachment #799755 -
Flags: review?(roc)
Attachment #799755 -
Flags: review?(roc) → review+
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
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
|
||
Comment 10•11 years ago
|
||
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
•