michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: if CONFIG['MOZ_WEBRTC']: michael@0: DIRS += ['bridge'] michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '/media/webrtc/signaling/src/common', michael@0: '/media/webrtc/trunk', michael@0: ] michael@0: michael@0: TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity'] michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIDOMMediaStream.idl', michael@0: 'nsIDOMNavigatorUserMedia.idl', michael@0: 'nsIMediaManager.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'dom_media' michael@0: michael@0: EXPORTS.mozilla.dom += [ michael@0: 'GetUserMediaRequest.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla += [ michael@0: 'MediaManager.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'GetUserMediaRequest.cpp', michael@0: 'MediaManager.cpp', michael@0: ] michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'PeerConnection.js', michael@0: 'PeerConnection.manifest', michael@0: ] michael@0: michael@0: JS_MODULES_PATH = 'modules/media' michael@0: michael@0: EXTRA_JS_MODULES += [ michael@0: 'IdpProxy.jsm', michael@0: 'PeerConnectionIdp.jsm', michael@0: ] michael@0: michael@0: if CONFIG['MOZ_B2G']: michael@0: EXPORTS.mozilla += [ michael@0: 'MediaPermissionGonk.h', michael@0: ] michael@0: SOURCES += [ michael@0: 'MediaPermissionGonk.cpp', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: michael@0: LOCAL_INCLUDES += [ michael@0: '../base', michael@0: '../camera', michael@0: ] michael@0: michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout'