# 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@ relativesrcdir = @relativesrcdir@ include $(DEPTH)/config/autoconf.mk MODULE = dom XPIDL_MODULE = dom_media LIBRARY_NAME = dom_media_s LIBXUL_LIBRARY = 1 FORCE_STATIC_LIB = 1 FAIL_ON_WARNINGS := 1 include $(topsrcdir)/dom/dom-config.mk EXTRA_COMPONENTS = \ PeerConnection.js \ PeerConnection.manifest \ $(NULL) XPIDLSRCS = \ nsIDOMMediaStream.idl \ nsIDOMRTCPeerConnection.idl \ nsIDOMNavigatorUserMedia.idl \ $(NULL) EXPORTS_NAMESPACE = mozilla EXPORTS_mozilla = \ MediaManager.h \ $(NULL) CPPSRCS = \ MediaManager.cpp \ $(NULL) ifdef MOZ_WEBRTC LOCAL_INCLUDES += \ -I$(topsrcdir)/media/webrtc/trunk/src \ $(NULL) DIRS += bridge endif include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/rules.mk