gecko/content/media/Makefile.in
Ehsan Akhgari f739744839 Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface.  In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00

113 lines
2.0 KiB
Makefile

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
FAIL_ON_WARNINGS := 1
include $(DEPTH)/config/autoconf.mk
MODULE = content
LIBRARY_NAME = gkconmedia_s
LIBXUL_LIBRARY = 1
EXPORTS = \
AudioSampleFormat.h \
AudioSegment.h \
FileBlockCache.h \
MediaDecoderOwner.h \
MediaResource.h \
MediaSegment.h \
MediaStreamGraph.h \
nsAudioAvailableEventManager.h \
nsBuiltinDecoder.h \
nsBuiltinDecoderStateMachine.h \
nsBuiltinDecoderReader.h \
nsDOMMediaStream.h \
nsMediaCache.h \
nsMediaDecoder.h \
SharedBuffer.h \
StreamBuffer.h \
TimeVarying.h \
VideoFrameContainer.h \
VideoUtils.h \
VideoSegment.h \
VorbisUtils.h \
$(NULL)
CPPSRCS = \
AudioSegment.cpp \
FileBlockCache.cpp \
MediaResource.cpp \
MediaStreamGraph.cpp \
nsAudioAvailableEventManager.cpp \
nsBuiltinDecoder.cpp \
nsBuiltinDecoderStateMachine.cpp \
nsBuiltinDecoderReader.cpp \
nsDOMMediaStream.cpp \
nsMediaCache.cpp \
nsMediaDecoder.cpp \
StreamBuffer.cpp \
VideoFrameContainer.cpp \
VideoSegment.cpp \
VideoUtils.cpp \
$(NULL)
ifdef MOZ_SYDNEYAUDIO
EXPORTS += \
nsAudioStream.h \
$(NULL)
CPPSRCS += \
nsAudioStream.cpp \
$(NULL)
endif
PARALLEL_DIRS += webaudio
ifdef MOZ_RAW
PARALLEL_DIRS += raw
endif
ifdef MOZ_OGG
PARALLEL_DIRS += ogg
endif
ifdef MOZ_WAVE
PARALLEL_DIRS += wave
endif
ifdef MOZ_WEBM
PARALLEL_DIRS += webm
endif
ifdef MOZ_GSTREAMER
PARALLEL_DIRS += gstreamer
endif
ifdef MOZ_DASH
PARALLEL_DIRS += dash
endif
ifdef MOZ_MEDIA_PLUGINS
PARALLEL_DIRS += plugins
endif
PARALLEL_DIRS += webrtc
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
PARALLEL_DIRS += omx
endif
TEST_DIRS += test
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
include $(topsrcdir)/config/rules.mk
DEFINES += -D_IMPL_NS_LAYOUT