# 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 = \ AudioSegment.h \ FileBlockCache.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 \ $(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