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