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:19 +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/.
|
|
|
|
|
2013-10-17 20:48:30 +00:00
|
|
|
XPIDL_MODULE = 'content_webrtc'
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'MediaEngine.h',
|
|
|
|
'MediaEngineDefault.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WEBRTC']:
|
2014-03-13 10:05:27 +00:00
|
|
|
EXPORTS += ['LoadManager.h',
|
|
|
|
'LoadManagerFactory.h',
|
|
|
|
'LoadMonitor.h',
|
|
|
|
'MediaEngineWebRTC.h']
|
2013-11-18 02:31:46 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2014-03-13 10:05:27 +00:00
|
|
|
'LoadManager.cpp',
|
|
|
|
'LoadManagerFactory.cpp',
|
2013-10-29 14:00:20 +00:00
|
|
|
'LoadMonitor.cpp',
|
2013-10-17 20:48:30 +00:00
|
|
|
'MediaEngineTabVideoSource.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'MediaEngineWebRTCAudio.cpp',
|
2013-10-23 23:00:23 +00:00
|
|
|
'MediaEngineWebRTCVideo.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
2013-11-18 02:31:46 +00:00
|
|
|
# MediaEngineWebRTC.cpp needs to be built separately.
|
|
|
|
SOURCES += [
|
|
|
|
'MediaEngineWebRTC.cpp',
|
|
|
|
]
|
2013-11-11 08:04:06 +00:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/camera',
|
2014-02-20 20:31:53 +00:00
|
|
|
'/media/libyuv/include',
|
2013-11-11 08:04:06 +00:00
|
|
|
'/media/webrtc/signaling/src/common',
|
|
|
|
'/media/webrtc/signaling/src/common/browser_logging',
|
|
|
|
'/media/webrtc/trunk',
|
|
|
|
]
|
|
|
|
|
2013-10-17 20:48:30 +00:00
|
|
|
XPIDL_SOURCES += [
|
2013-11-11 08:04:06 +00:00
|
|
|
'nsITabSource.idl'
|
2013-10-17 20:48:30 +00:00
|
|
|
]
|
2013-04-23 21:54:15 +00:00
|
|
|
|
2013-11-18 02:31:46 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 21:54:15 +00:00
|
|
|
'MediaEngineDefault.cpp',
|
|
|
|
]
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 02:47:14 +00:00
|
|
|
FINAL_LIBRARY = 'gklayout'
|
2013-11-11 08:04:06 +00:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
DEFINES['NOMINMAX'] = True
|