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']:
|
|
|
|
DIRS += ['bridge']
|
|
|
|
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/media/webrtc/signaling/src/common',
|
|
|
|
'/media/webrtc/trunk',
|
|
|
|
]
|
|
|
|
|
2014-02-21 04:26:16 +04:00
|
|
|
TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity']
|
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-02-21 04:26:16 +04:00
|
|
|
JS_MODULES_PATH = 'modules/media'
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'IdpProxy.jsm',
|
2014-02-11 02:41:46 +04:00
|
|
|
'PeerConnectionIdp.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-05-01 14:51:00 +04:00
|
|
|
'/caps/include',
|
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
|
|
|
|
|
|
|
FINAL_LIBRARY = 'gklayout'
|