gecko-dev/content/media/webrtc/moz.build
Gian-Carlo Pascutto 8727fe3273 Bug 1015932 - Add systemservices subdir to content/media. r=jesup
--HG--
rename : content/media/webrtc/LoadManager.cpp => content/media/systemservices/LoadManager.cpp
rename : content/media/webrtc/LoadManager.h => content/media/systemservices/LoadManager.h
rename : content/media/webrtc/LoadManagerFactory.cpp => content/media/systemservices/LoadManagerFactory.cpp
rename : content/media/webrtc/LoadManagerFactory.h => content/media/systemservices/LoadManagerFactory.h
rename : content/media/webrtc/LoadMonitor.cpp => content/media/systemservices/LoadMonitor.cpp
rename : content/media/webrtc/LoadMonitor.h => content/media/systemservices/LoadMonitor.h
2014-07-29 16:45:41 +02:00

62 lines
1.5 KiB
Python

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.
XPIDL_MODULE = 'content_webrtc'
EXPORTS += [
'MediaEngine.h',
'MediaEngineDefault.h',
'MediaTrackConstraints.h',
]
if CONFIG['MOZ_WEBRTC']:
EXPORTS += ['AudioOutputObserver.h',
'MediaEngineWebRTC.h']
UNIFIED_SOURCES += [
'MediaEngineTabVideoSource.cpp',
'MediaEngineWebRTCAudio.cpp',
'MediaEngineWebRTCVideo.cpp',
]
# MediaEngineWebRTC.cpp needs to be built separately.
SOURCES += [
'MediaEngineWebRTC.cpp',
]
LOCAL_INCLUDES += [
'/dom/base',
'/dom/camera',
'/media/libyuv/include',
'/media/webrtc/signaling/src/common',
'/media/webrtc/signaling/src/common/browser_logging',
'/media/webrtc/trunk',
]
XPIDL_SOURCES += [
'nsITabSource.idl'
]
UNIFIED_SOURCES += [
'MediaEngineDefault.cpp',
'PeerIdentity.cpp',
]
EXPORTS.mozilla += [
'PeerIdentity.h',
]
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
if CONFIG['OS_ARCH'] == 'WINNT':
DEFINES['NOMINMAX'] = True
if CONFIG['_MSC_VER']:
CXXFLAGS += [
'-wd4275', # non dll-interface class used as base for dll-interface class
]
FAIL_ON_WARNINGS = True