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