2012-05-21 04:12:37 -07:00
|
|
|
# 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/.
|
2008-07-09 01:22:20 -07:00
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2009-11-13 11:40:00 -08:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-07-18 03:36:08 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2008-07-09 01:22:20 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2009-11-13 11:40:00 -08:00
|
|
|
MODULE = content
|
|
|
|
LIBRARY_NAME = gkconmedia_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
2009-06-25 21:23:15 -07:00
|
|
|
|
2009-11-13 11:40:00 -08:00
|
|
|
EXPORTS = \
|
2012-10-25 03:09:40 -07:00
|
|
|
AudioSampleFormat.h \
|
2012-04-29 20:11:19 -07:00
|
|
|
AudioSegment.h \
|
2012-03-27 17:04:20 -07:00
|
|
|
FileBlockCache.h \
|
2012-11-08 21:52:53 -08:00
|
|
|
MediaDecoderOwner.h \
|
2012-04-29 20:11:08 -07:00
|
|
|
MediaResource.h \
|
2012-04-29 20:11:19 -07:00
|
|
|
MediaSegment.h \
|
2012-04-29 20:11:26 -07:00
|
|
|
MediaStreamGraph.h \
|
2012-02-14 20:35:01 -08:00
|
|
|
nsAudioAvailableEventManager.h \
|
2010-04-27 01:53:44 -07:00
|
|
|
nsBuiltinDecoder.h \
|
2010-05-05 19:31:02 -07:00
|
|
|
nsBuiltinDecoderStateMachine.h \
|
|
|
|
nsBuiltinDecoderReader.h \
|
2012-04-29 20:11:34 -07:00
|
|
|
nsDOMMediaStream.h \
|
2012-04-29 20:11:08 -07:00
|
|
|
nsMediaCache.h \
|
2012-04-29 20:11:19 -07:00
|
|
|
SharedBuffer.h \
|
|
|
|
StreamBuffer.h \
|
2012-04-29 20:11:08 -07:00
|
|
|
TimeVarying.h \
|
2012-02-14 20:35:01 -08:00
|
|
|
VideoFrameContainer.h \
|
2010-04-27 01:53:44 -07:00
|
|
|
VideoUtils.h \
|
2012-04-29 20:11:19 -07:00
|
|
|
VideoSegment.h \
|
2012-10-25 03:09:41 -07:00
|
|
|
VorbisUtils.h \
|
2009-11-13 11:40:00 -08:00
|
|
|
$(NULL)
|
2009-06-25 21:23:15 -07:00
|
|
|
|
2009-11-13 11:40:00 -08:00
|
|
|
CPPSRCS = \
|
2012-04-29 20:11:19 -07:00
|
|
|
AudioSegment.cpp \
|
2012-03-27 17:04:20 -07:00
|
|
|
FileBlockCache.cpp \
|
2012-04-29 20:11:08 -07:00
|
|
|
MediaResource.cpp \
|
2012-04-29 20:11:26 -07:00
|
|
|
MediaStreamGraph.cpp \
|
2012-02-14 20:35:01 -08:00
|
|
|
nsAudioAvailableEventManager.cpp \
|
2010-04-27 01:53:44 -07:00
|
|
|
nsBuiltinDecoder.cpp \
|
2010-05-05 19:31:02 -07:00
|
|
|
nsBuiltinDecoderStateMachine.cpp \
|
|
|
|
nsBuiltinDecoderReader.cpp \
|
2012-04-29 20:11:34 -07:00
|
|
|
nsDOMMediaStream.cpp \
|
2012-04-29 20:11:08 -07:00
|
|
|
nsMediaCache.cpp \
|
2012-04-29 20:11:19 -07:00
|
|
|
StreamBuffer.cpp \
|
2012-02-14 20:35:01 -08:00
|
|
|
VideoFrameContainer.cpp \
|
2012-08-20 21:06:46 -07:00
|
|
|
VideoSegment.cpp \
|
2010-08-12 19:28:15 -07:00
|
|
|
VideoUtils.cpp \
|
2009-11-13 11:40:00 -08:00
|
|
|
$(NULL)
|
2009-06-25 21:23:15 -07:00
|
|
|
|
|
|
|
ifdef MOZ_SYDNEYAUDIO
|
2009-11-13 11:40:00 -08:00
|
|
|
EXPORTS += \
|
|
|
|
nsAudioStream.h \
|
|
|
|
$(NULL)
|
|
|
|
CPPSRCS += \
|
|
|
|
nsAudioStream.cpp \
|
|
|
|
$(NULL)
|
2008-07-09 01:22:20 -07:00
|
|
|
endif
|
|
|
|
|
2012-08-31 13:59:37 -07:00
|
|
|
PARALLEL_DIRS += webaudio
|
|
|
|
|
2010-07-26 12:35:16 -07:00
|
|
|
ifdef MOZ_RAW
|
|
|
|
PARALLEL_DIRS += raw
|
|
|
|
endif
|
|
|
|
|
2009-06-25 21:23:15 -07:00
|
|
|
ifdef MOZ_OGG
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += ogg
|
2009-06-25 21:23:15 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_WAVE
|
2009-11-13 11:40:00 -08:00
|
|
|
PARALLEL_DIRS += wave
|
2009-06-25 21:23:15 -07:00
|
|
|
endif
|
|
|
|
|
2010-06-08 16:31:27 -07:00
|
|
|
ifdef MOZ_WEBM
|
|
|
|
PARALLEL_DIRS += webm
|
|
|
|
endif
|
|
|
|
|
2012-04-18 15:33:13 -07:00
|
|
|
ifdef MOZ_GSTREAMER
|
|
|
|
PARALLEL_DIRS += gstreamer
|
|
|
|
endif
|
|
|
|
|
2012-09-29 16:29:04 -07:00
|
|
|
ifdef MOZ_DASH
|
|
|
|
PARALLEL_DIRS += dash
|
|
|
|
endif
|
|
|
|
|
2012-05-31 17:54:23 -07:00
|
|
|
ifdef MOZ_MEDIA_PLUGINS
|
|
|
|
PARALLEL_DIRS += plugins
|
|
|
|
endif
|
|
|
|
|
2012-06-19 17:29:43 -07:00
|
|
|
PARALLEL_DIRS += webrtc
|
2012-07-12 04:53:08 -07:00
|
|
|
|
2012-09-26 21:33:43 -07:00
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
PARALLEL_DIRS += omx
|
|
|
|
endif
|
|
|
|
|
2012-05-27 20:25:22 -07:00
|
|
|
TEST_DIRS += test
|
2009-06-25 21:23:15 -07:00
|
|
|
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2010-11-16 20:14:19 -08:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2008-07-09 01:22:20 -07:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2012-04-29 20:11:34 -07:00
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|