dom/media/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 if CONFIG['MOZ_WEBRTC']:
     8     DIRS += ['bridge']
    10     LOCAL_INCLUDES += [
    11         '/media/webrtc/signaling/src/common',
    12         '/media/webrtc/trunk',
    13     ]
    15 TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity']
    17 XPIDL_SOURCES += [
    18     'nsIDOMMediaStream.idl',
    19     'nsIDOMNavigatorUserMedia.idl',
    20     'nsIMediaManager.idl',
    21 ]
    23 XPIDL_MODULE = 'dom_media'
    25 EXPORTS.mozilla.dom += [
    26     'GetUserMediaRequest.h',
    27 ]
    29 EXPORTS.mozilla += [
    30     'MediaManager.h',
    31 ]
    33 UNIFIED_SOURCES += [
    34     'GetUserMediaRequest.cpp',
    35     'MediaManager.cpp',
    36 ]
    38 EXTRA_COMPONENTS += [
    39     'PeerConnection.js',
    40     'PeerConnection.manifest',
    41 ]
    43 JS_MODULES_PATH = 'modules/media'
    45 EXTRA_JS_MODULES += [
    46     'IdpProxy.jsm',
    47     'PeerConnectionIdp.jsm',
    48 ]
    50 if CONFIG['MOZ_B2G']:
    51     EXPORTS.mozilla += [
    52         'MediaPermissionGonk.h',
    53     ]
    54     SOURCES += [
    55         'MediaPermissionGonk.cpp',
    56     ]
    58 FAIL_ON_WARNINGS = True
    60 LOCAL_INCLUDES += [
    61     '../base',
    62     '../camera',
    63 ]
    65 include('/ipc/chromium/chromium-config.mozbuild')
    67 FINAL_LIBRARY = 'gklayout'

mercurial