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
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2009-11-13 19:40:00 +00:00
|
|
|
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-11-19 15:11:21 +00:00
|
|
|
AbstractMediaDecoder.h \
|
2012-10-25 10:09:40 +00:00
|
|
|
AudioSampleFormat.h \
|
2012-04-30 03:11:19 +00:00
|
|
|
AudioSegment.h \
|
2012-11-22 21:44:20 +00:00
|
|
|
BufferMediaResource.h \
|
2012-11-22 03:10:41 +00:00
|
|
|
DecoderTraits.h \
|
2012-03-28 00:04:20 +00:00
|
|
|
FileBlockCache.h \
|
2012-11-09 05:52:53 +00:00
|
|
|
MediaDecoderOwner.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-11-14 19:46:40 +00:00
|
|
|
AudioAvailableEventManager.h \
|
|
|
|
MediaDecoder.h \
|
|
|
|
MediaDecoderStateMachine.h \
|
|
|
|
MediaDecoderReader.h \
|
2012-04-30 03:11:34 +00:00
|
|
|
nsDOMMediaStream.h \
|
2012-11-14 19:46:40 +00:00
|
|
|
MediaCache.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 \
|
2012-10-25 10:09:41 +00:00
|
|
|
VorbisUtils.h \
|
2012-11-30 13:17:54 +00:00
|
|
|
MediaMetadataManager.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-11-22 03:10:41 +00:00
|
|
|
DecoderTraits.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-11-14 19:46:40 +00:00
|
|
|
AudioAvailableEventManager.cpp \
|
|
|
|
MediaDecoder.cpp \
|
|
|
|
MediaDecoderStateMachine.cpp \
|
|
|
|
MediaDecoderReader.cpp \
|
2012-04-30 03:11:34 +00:00
|
|
|
nsDOMMediaStream.cpp \
|
2012-11-14 19:46:40 +00:00
|
|
|
MediaCache.cpp \
|
2012-04-30 03:11:19 +00:00
|
|
|
StreamBuffer.cpp \
|
2012-02-15 04:35:01 +00:00
|
|
|
VideoFrameContainer.cpp \
|
2012-08-21 04:06:46 +00:00
|
|
|
VideoSegment.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 += \
|
2012-11-14 19:46:40 +00:00
|
|
|
AudioStream.h \
|
2009-11-13 19:40:00 +00:00
|
|
|
$(NULL)
|
|
|
|
CPPSRCS += \
|
2012-11-14 19:46:40 +00:00
|
|
|
AudioStream.cpp \
|
2009-11-13 19:40:00 +00:00
|
|
|
$(NULL)
|
2008-07-09 08:22:20 +00:00
|
|
|
endif
|
|
|
|
|
2012-08-31 20:59:37 +00:00
|
|
|
PARALLEL_DIRS += webaudio
|
|
|
|
|
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-09-29 23:29:04 +00:00
|
|
|
ifdef MOZ_DASH
|
|
|
|
PARALLEL_DIRS += dash
|
|
|
|
endif
|
|
|
|
|
2012-06-01 00:54:23 +00:00
|
|
|
ifdef MOZ_MEDIA_PLUGINS
|
|
|
|
PARALLEL_DIRS += plugins
|
|
|
|
endif
|
|
|
|
|
2012-12-18 08:49:58 +00:00
|
|
|
ifdef MOZ_WMF
|
|
|
|
PARALLEL_DIRS += wmf
|
|
|
|
endif
|
|
|
|
|
2012-06-20 00:29:43 +00:00
|
|
|
PARALLEL_DIRS += webrtc
|
2012-07-12 11:53:08 +00:00
|
|
|
|
2012-09-27 04:33:43 +00:00
|
|
|
ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
PARALLEL_DIRS += omx
|
|
|
|
endif
|
|
|
|
|
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
|