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