dom/telephony/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 XPIDL_SOURCES += [
     8     'nsITelephonyProvider.idl',
     9 ]
    11 XPIDL_MODULE = 'dom_telephony'
    13 EXPORTS.mozilla.dom += [
    14     'CallEvent.h',
    15     'CallsList.h',
    16     'Telephony.h',
    17     'TelephonyCall.h',
    18     'TelephonyCallGroup.h',
    19 ]
    21 EXPORTS.mozilla.dom.telephony += [
    22     'ipc/TelephonyChild.h',
    23     'ipc/TelephonyParent.h',
    24     'TelephonyCommon.h',
    25     'TelephonyFactory.h',
    26 ]
    28 UNIFIED_SOURCES += [
    29     'CallEvent.cpp',
    30     'CallsList.cpp',
    31     'ipc/TelephonyChild.cpp',
    32     'ipc/TelephonyIPCProvider.cpp',
    33     'ipc/TelephonyParent.cpp',
    34     'Telephony.cpp',
    35     'TelephonyCall.cpp',
    36     'TelephonyCallGroup.cpp',
    37     'TelephonyFactory.cpp',
    38 ]
    40 IPDL_SOURCES += [
    41     'ipc/PTelephony.ipdl',
    42     'ipc/PTelephonyRequest.ipdl',
    43     'ipc/TelephonyTypes.ipdlh'
    44 ]
    46 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
    47     XPIDL_SOURCES += [
    48         'nsIGonkTelephonyProvider.idl',
    49     ]
    50     EXTRA_COMPONENTS += [
    51         'gonk/TelephonyProvider.js',
    52         'gonk/TelephonyProvider.manifest',
    53     ]
    55 FAIL_ON_WARNINGS = True
    56 include('/ipc/chromium/chromium-config.mozbuild')
    58 FINAL_LIBRARY = 'gklayout'

mercurial