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