2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
2014-07-14 01:52:44 +04:00
|
|
|
DIRS += ['bridge', 'gmp-plugin']
|
2013-02-26 00:47:20 +04:00
|
|
|
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/media/webrtc/signaling/src/common',
|
|
|
|
'/media/webrtc/trunk',
|
|
|
|
]
|
|
|
|
|
2014-06-05 00:46:00 +04:00
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-unused-local-typedefs', # Workaround until we fix bug 1020661
|
|
|
|
]
|
|
|
|
|
2014-07-26 10:17:24 +04:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
|
|
|
WEBRTC_SIGNALLING_TEST_MANIFESTS += ['tests/mochitest/steeplechase.ini']
|
2013-03-12 21:17:46 +04:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMMediaStream.idl',
|
|
|
|
'nsIDOMNavigatorUserMedia.idl',
|
|
|
|
'nsIMediaManager.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-12 09:00:00 +04:00
|
|
|
XPIDL_MODULE = 'dom_media'
|
|
|
|
|
2013-09-16 10:34:57 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'GetUserMediaRequest.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'MediaManager.h',
|
|
|
|
]
|
|
|
|
|
2013-11-26 20:38:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-09-16 10:34:57 +04:00
|
|
|
'GetUserMediaRequest.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
'MediaManager.cpp',
|
|
|
|
]
|
|
|
|
|
2013-06-10 19:19:28 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'PeerConnection.js',
|
|
|
|
'PeerConnection.manifest',
|
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
2014-07-25 21:40:07 +04:00
|
|
|
EXTRA_JS_MODULES.media += [
|
2014-02-21 04:26:16 +04:00
|
|
|
'IdpProxy.jsm',
|
2014-02-11 02:41:46 +04:00
|
|
|
'PeerConnectionIdp.jsm',
|
2014-06-10 02:14:14 +04:00
|
|
|
'RTCStatsReport.jsm',
|
2014-02-21 04:26:16 +04:00
|
|
|
]
|
|
|
|
|
2013-09-16 10:39:03 +04:00
|
|
|
if CONFIG['MOZ_B2G']:
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'MediaPermissionGonk.h',
|
|
|
|
]
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-09-16 10:39:03 +04:00
|
|
|
'MediaPermissionGonk.cpp',
|
|
|
|
]
|
|
|
|
|
2013-08-22 10:55:59 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-24 01:20:55 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
|
|
|
'../camera',
|
2014-07-15 22:12:59 +04:00
|
|
|
'/caps',
|
2013-10-24 01:20:55 +04:00
|
|
|
]
|
2013-10-02 21:17:55 +04:00
|
|
|
|
2013-10-24 01:20:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
2013-11-19 06:47:14 +04:00
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-26 10:17:24 +04:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += [
|
|
|
|
'tests/identity/mochitest.ini',
|
|
|
|
'tests/ipc/mochitest.ini',
|
|
|
|
]
|