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