gecko-dev/dom/telephony/moz.build

82 lines
2.1 KiB
Plaintext
Raw Normal View History

# -*- Mode: python; 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 += [
'nsITelephonyCallInfo.idl',
'nsITelephonyService.idl',
]
XPIDL_MODULE = 'dom_telephony'
EXPORTS.mozilla.dom += [
2013-09-07 06:19:53 +00:00
'CallsList.h',
'MMICall.h',
2013-09-07 06:19:53 +00:00
'Telephony.h',
'TelephonyCall.h',
'TelephonyCallGroup.h',
'TelephonyCallId.h',
'USSDSession.h'
]
EXPORTS.mozilla.dom.telephony += [
2013-09-07 06:19:53 +00:00
'ipc/TelephonyChild.h',
'ipc/TelephonyIPCSerializer.h',
2013-09-07 06:19:53 +00:00
'ipc/TelephonyParent.h',
'TelephonyCallback.h',
'TelephonyCallInfo.h',
'TelephonyCommon.h',
'TelephonyDialCallback.h',
2013-09-07 06:19:53 +00:00
]
UNIFIED_SOURCES += [
'CallsList.cpp',
'ipc/TelephonyChild.cpp',
'ipc/TelephonyIPCService.cpp',
'ipc/TelephonyParent.cpp',
'MMICall.cpp',
'Telephony.cpp',
'TelephonyCall.cpp',
'TelephonyCallback.cpp',
'TelephonyCallGroup.cpp',
'TelephonyCallId.cpp',
'TelephonyCallInfo.cpp',
'TelephonyDialCallback.cpp',
'USSDSession.cpp',
2013-09-07 06:19:53 +00:00
]
IPDL_SOURCES += [
'ipc/PTelephony.ipdl',
'ipc/PTelephonyRequest.ipdl',
'ipc/TelephonyTypes.ipdlh'
]
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
XPIDL_SOURCES += [
'nsIGonkTelephonyService.idl',
'nsITelephonyAudioService.idl',
'nsITelephonyMessenger.idl',
]
EXTRA_COMPONENTS += [
'gonk/TelephonyAudioService.js',
'gonk/TelephonyAudioService.manifest',
'gonk/USSDReceivedWrapper.js',
'gonk/USSDReceivedWrapper.manifest',
]
if not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
EXTRA_COMPONENTS += [
'gonk/TelephonyService.js',
'gonk/TelephonyService.manifest',
]
EXTRA_JS_MODULES += [
'gonk/DialNumberUtils.jsm',
'gonk/TelephonyUtils.jsm',
]
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'