2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00:00
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 17:17:46 +00:00
|
|
|
XPIDL_SOURCES += [
|
2015-01-08 08:33:51 +00:00
|
|
|
'nsITelephonyCallInfo.idl',
|
2014-06-03 14:15:25 +00:00
|
|
|
'nsITelephonyService.idl',
|
2013-03-12 17:17:46 +00:00
|
|
|
]
|
|
|
|
|
2013-03-12 05:00:00 +00:00
|
|
|
XPIDL_MODULE = 'dom_telephony'
|
|
|
|
|
2013-09-12 03:47:14 +00:00
|
|
|
EXPORTS.mozilla.dom += [
|
2013-09-07 06:19:53 +00:00
|
|
|
'CallsList.h',
|
2014-11-11 09:15:31 +00:00
|
|
|
'MMICall.h',
|
2013-09-07 06:19:53 +00:00
|
|
|
'Telephony.h',
|
|
|
|
'TelephonyCall.h',
|
|
|
|
'TelephonyCallGroup.h',
|
2014-04-10 06:25:42 +00:00
|
|
|
'TelephonyCallId.h',
|
2014-10-15 06:51:00 +00:00
|
|
|
'USSDSession.h'
|
2013-09-12 03:47:14 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom.telephony += [
|
2013-09-07 06:19:53 +00:00
|
|
|
'ipc/TelephonyChild.h',
|
2015-01-08 08:33:51 +00:00
|
|
|
'ipc/TelephonyIPCSerializer.h',
|
2013-09-07 06:19:53 +00:00
|
|
|
'ipc/TelephonyParent.h',
|
2014-09-22 05:35:00 +00:00
|
|
|
'TelephonyCallback.h',
|
2015-01-08 08:33:51 +00:00
|
|
|
'TelephonyCallInfo.h',
|
2013-10-23 23:05:43 +00:00
|
|
|
'TelephonyCommon.h',
|
2014-10-15 06:50:00 +00:00
|
|
|
'TelephonyDialCallback.h',
|
2013-09-07 06:19:53 +00:00
|
|
|
]
|
|
|
|
|
2013-12-04 14:42:23 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2013-07-15 08:27:19 +00:00
|
|
|
'CallsList.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ipc/TelephonyChild.cpp',
|
2014-06-03 14:15:25 +00:00
|
|
|
'ipc/TelephonyIPCService.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'ipc/TelephonyParent.cpp',
|
2014-11-11 09:15:31 +00:00
|
|
|
'MMICall.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
'Telephony.cpp',
|
|
|
|
'TelephonyCall.cpp',
|
2014-09-22 05:34:00 +00:00
|
|
|
'TelephonyCallback.cpp',
|
2013-07-06 10:24:55 +00:00
|
|
|
'TelephonyCallGroup.cpp',
|
2014-04-10 06:25:42 +00:00
|
|
|
'TelephonyCallId.cpp',
|
2015-01-08 08:33:51 +00:00
|
|
|
'TelephonyCallInfo.cpp',
|
2014-10-15 06:50:00 +00:00
|
|
|
'TelephonyDialCallback.cpp',
|
2014-10-15 06:51:00 +00:00
|
|
|
'USSDSession.cpp',
|
2013-09-07 06:19:53 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PTelephony.ipdl',
|
|
|
|
'ipc/PTelephonyRequest.ipdl',
|
|
|
|
'ipc/TelephonyTypes.ipdlh'
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-10-29 08:12:38 +00:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
|
2014-09-22 05:36:00 +00:00
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
|
2013-09-07 06:19:57 +00:00
|
|
|
XPIDL_SOURCES += [
|
2014-06-03 14:15:25 +00:00
|
|
|
'nsIGonkTelephonyService.idl',
|
2014-11-14 07:20:44 +00:00
|
|
|
'nsITelephonyAudioService.idl',
|
2014-10-20 08:50:57 +00:00
|
|
|
'nsITelephonyMessenger.idl',
|
2013-09-07 06:19:57 +00:00
|
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
2014-11-14 07:20:44 +00:00
|
|
|
'gonk/TelephonyAudioService.js',
|
|
|
|
'gonk/TelephonyAudioService.manifest',
|
2015-05-13 07:26:16 +00:00
|
|
|
'gonk/USSDReceivedWrapper.js',
|
|
|
|
'gonk/USSDReceivedWrapper.manifest',
|
2013-09-07 06:19:57 +00:00
|
|
|
]
|
2015-03-23 07:50:14 +00:00
|
|
|
if not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'gonk/TelephonyService.js',
|
|
|
|
'gonk/TelephonyService.manifest',
|
|
|
|
]
|
2015-01-23 10:34:13 +00:00
|
|
|
EXTRA_JS_MODULES += [
|
2015-06-03 03:49:06 +00:00
|
|
|
'gonk/DialNumberUtils.jsm',
|
|
|
|
'gonk/TelephonyUtils.jsm',
|
2015-01-23 10:34:13 +00:00
|
|
|
]
|
2013-09-07 06:19:57 +00:00
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|