2012-06-03 00:35:15 -07: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/.
|
|
|
|
|
2012-08-04 11:26:44 -07:00
|
|
|
DEPTH = @DEPTH@
|
2012-06-03 00:35:15 -07:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-08-04 11:26:44 -07:00
|
|
|
relativesrcdir = @relativesrcdir@
|
2012-06-03 00:35:15 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = dom
|
|
|
|
XPIDL_MODULE = dom_media
|
|
|
|
LIBRARY_NAME = dom_media_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
FORCE_STATIC_LIB = 1
|
2012-09-20 00:55:36 -07:00
|
|
|
FAIL_ON_WARNINGS := 1
|
2012-06-03 00:35:15 -07:00
|
|
|
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
|
2012-10-06 22:34:30 -07:00
|
|
|
EXTRA_COMPONENTS = \
|
|
|
|
PeerConnection.js \
|
|
|
|
PeerConnection.manifest \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-06-03 00:35:15 -07:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsIDOMMediaStream.idl \
|
2012-10-06 22:34:30 -07:00
|
|
|
nsIDOMRTCPeerConnection.idl \
|
2012-06-03 00:35:15 -07:00
|
|
|
nsIDOMNavigatorUserMedia.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
EXPORTS_NAMESPACE = mozilla
|
|
|
|
|
|
|
|
EXPORTS_mozilla = \
|
|
|
|
MediaManager.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
MediaManager.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-07-12 04:53:08 -07:00
|
|
|
ifdef MOZ_WEBRTC
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(topsrcdir)/media/webrtc/trunk/src \
|
2012-11-15 14:58:40 -08:00
|
|
|
-I$(topsrcdir)/media/webrtc/signaling/src/common \
|
2012-07-12 04:53:08 -07:00
|
|
|
$(NULL)
|
2012-10-06 22:34:30 -07:00
|
|
|
DIRS += bridge
|
2012-07-12 04:53:08 -07:00
|
|
|
endif
|
|
|
|
|
2012-10-29 05:57:11 -07:00
|
|
|
TEST_DIRS += \
|
|
|
|
tests/mochitest \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-06-03 00:35:15 -07:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/config/rules.mk
|