# 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 = ../.. topsrcdir = @top_srcdir@ srcdir = @srcdir@ VPATH = @srcdir@ include $(DEPTH)/config/autoconf.mk MODULE = content LIBRARY_NAME = gkconmedia_s LIBXUL_LIBRARY = 1 XPIDL_MODULE = content_media XPIDLSRCS = \ nsIDOMMediaStream.idl \ $(NULL) 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 \ VideoUtils.cpp \ $(NULL) ifdef MOZ_SYDNEYAUDIO EXPORTS += \ nsAudioStream.h \ $(NULL) CPPSRCS += \ nsAudioStream.cpp \ $(NULL) endif 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 ENABLE_TESTS PARALLEL_DIRS += test endif FORCE_STATIC_LIB = 1 include $(topsrcdir)/config/config.mk include $(topsrcdir)/ipc/chromium/chromium-config.mk include $(topsrcdir)/config/rules.mk INCLUDES += \ -I$(srcdir)/../base/src \ -I$(srcdir)/../html/content/src \ $(NULL) DEFINES += -D_IMPL_NS_LAYOUT