dom/telephony/moz.build
author Birunthan Mohanathas <birunthan@mohanathas.com>
Mon, 05 May 2014 20:30:39 +0300
changeset 194024 4e27f466ebbb6578ab008f231f12a00917c2c718
parent 167985 1709b979d4bee4bab2db2bc960f31e2755c4db76
child 198866 8272c8646ec5b802f33f0889b2ba6d1fae71f291
permissions -rw-r--r--
Bug 995730 - Change xpcom/base/ to use 2 space indentation This also removes trailing whitespace in reindented files.

# -*- 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_SOURCES += [
    'nsITelephonyProvider.idl',
]

XPIDL_MODULE = 'dom_telephony'

EXPORTS.mozilla.dom += [
    'CallEvent.h',
    'CallsList.h',
    'Telephony.h',
    'TelephonyCall.h',
    'TelephonyCallGroup.h',
]

EXPORTS.mozilla.dom.telephony += [
    'ipc/TelephonyChild.h',
    'ipc/TelephonyParent.h',
    'TelephonyCommon.h',
    'TelephonyFactory.h',
]

UNIFIED_SOURCES += [
    'CallEvent.cpp',
    'CallsList.cpp',
    'ipc/TelephonyChild.cpp',
    'ipc/TelephonyIPCProvider.cpp',
    'ipc/TelephonyParent.cpp',
    'Telephony.cpp',
    'TelephonyCall.cpp',
    'TelephonyCallGroup.cpp',
    'TelephonyFactory.cpp',
]

IPDL_SOURCES += [
    'ipc/PTelephony.ipdl',
    'ipc/PTelephonyRequest.ipdl',
    'ipc/TelephonyTypes.ipdlh'
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
    XPIDL_SOURCES += [
        'nsIGonkTelephonyProvider.idl',
    ]
    EXTRA_COMPONENTS += [
        'gonk/TelephonyProvider.js',
        'gonk/TelephonyProvider.manifest',
    ]

FAIL_ON_WARNINGS = True
include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'gklayout'