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/.
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
|
|
|
DIRS += ['bridge']
|
|
|
|
|
2013-11-11 08:04:11 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/media/webrtc/signaling/src/common',
|
|
|
|
'/media/webrtc/trunk',
|
|
|
|
]
|
|
|
|
|
2014-06-04 20:46:00 +00:00
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += [
|
|
|
|
'-Wno-unused-local-typedefs', # Workaround until we fix bug 1020661
|
|
|
|
]
|
|
|
|
|
2014-02-21 00:26:16 +00:00
|
|
|
TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity']
|
2013-03-12 17:17:46 +00:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDOMMediaStream.idl',
|
|
|
|
'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-02-21 00:26:16 +00:00
|
|
|
JS_MODULES_PATH = 'modules/media'
|
|
|
|
|
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'IdpProxy.jsm',
|
2014-02-10 22:41:46 +00:00
|
|
|
'PeerConnectionIdp.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-05-01 10:51:00 +00:00
|
|
|
'/caps/include',
|
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
|
|
|
|
|
|
|
FINAL_LIBRARY = 'gklayout'
|