dom/media/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/media/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,67 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +if CONFIG['MOZ_WEBRTC']:
    1.11 +    DIRS += ['bridge']
    1.12 +
    1.13 +    LOCAL_INCLUDES += [
    1.14 +        '/media/webrtc/signaling/src/common',
    1.15 +        '/media/webrtc/trunk',
    1.16 +    ]
    1.17 +
    1.18 +TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity']
    1.19 +
    1.20 +XPIDL_SOURCES += [
    1.21 +    'nsIDOMMediaStream.idl',
    1.22 +    'nsIDOMNavigatorUserMedia.idl',
    1.23 +    'nsIMediaManager.idl',
    1.24 +]
    1.25 +
    1.26 +XPIDL_MODULE = 'dom_media'
    1.27 +
    1.28 +EXPORTS.mozilla.dom += [
    1.29 +    'GetUserMediaRequest.h',
    1.30 +]
    1.31 +
    1.32 +EXPORTS.mozilla += [
    1.33 +    'MediaManager.h',
    1.34 +]
    1.35 +
    1.36 +UNIFIED_SOURCES += [
    1.37 +    'GetUserMediaRequest.cpp',
    1.38 +    'MediaManager.cpp',
    1.39 +]
    1.40 +
    1.41 +EXTRA_COMPONENTS += [
    1.42 +    'PeerConnection.js',
    1.43 +    'PeerConnection.manifest',
    1.44 +]
    1.45 +
    1.46 +JS_MODULES_PATH = 'modules/media'
    1.47 +
    1.48 +EXTRA_JS_MODULES += [
    1.49 +    'IdpProxy.jsm',
    1.50 +    'PeerConnectionIdp.jsm',
    1.51 +]
    1.52 +
    1.53 +if CONFIG['MOZ_B2G']:
    1.54 +    EXPORTS.mozilla += [
    1.55 +        'MediaPermissionGonk.h',
    1.56 +    ]
    1.57 +    SOURCES += [
    1.58 +        'MediaPermissionGonk.cpp',
    1.59 +    ]
    1.60 +
    1.61 +FAIL_ON_WARNINGS = True
    1.62 +
    1.63 +LOCAL_INCLUDES += [
    1.64 +    '../base',
    1.65 +    '../camera',
    1.66 +]
    1.67 +
    1.68 +include('/ipc/chromium/chromium-config.mozbuild')
    1.69 +
    1.70 +FINAL_LIBRARY = 'gklayout'

mercurial