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