Bumping gaia.json for 8 gaia revision(s) a=gaia-bump
[gecko.git] / dom / telephony / moz.build
blobe2dbba00f6cb44e4aafa0817ad7d96942828a475
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     'nsITelephonyCallInfo.idl',
9     'nsITelephonyService.idl',
12 XPIDL_MODULE = 'dom_telephony'
14 EXPORTS.mozilla.dom += [
15     'CallsList.h',
16     'MMICall.h',
17     'Telephony.h',
18     'TelephonyCall.h',
19     'TelephonyCallGroup.h',
20     'TelephonyCallId.h',
21     'USSDSession.h'
24 EXPORTS.mozilla.dom.telephony += [
25     'ipc/TelephonyChild.h',
26     'ipc/TelephonyIPCSerializer.h',
27     'ipc/TelephonyParent.h',
28     'TelephonyCallback.h',
29     'TelephonyCallInfo.h',
30     'TelephonyCommon.h',
31     'TelephonyDialCallback.h',
34 UNIFIED_SOURCES += [
35     'CallsList.cpp',
36     'ipc/TelephonyChild.cpp',
37     'ipc/TelephonyIPCService.cpp',
38     'ipc/TelephonyParent.cpp',
39     'MMICall.cpp',
40     'Telephony.cpp',
41     'TelephonyCall.cpp',
42     'TelephonyCallback.cpp',
43     'TelephonyCallGroup.cpp',
44     'TelephonyCallId.cpp',
45     'TelephonyCallInfo.cpp',
46     'TelephonyDialCallback.cpp',
47     'USSDSession.cpp',
50 IPDL_SOURCES += [
51     'ipc/PTelephony.ipdl',
52     'ipc/PTelephonyRequest.ipdl',
53     'ipc/TelephonyTypes.ipdlh'
56 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
57     XPCSHELL_TESTS_MANIFESTS += ['test/xpcshell/xpcshell.ini']
58     XPIDL_SOURCES += [
59         'nsIGonkTelephonyService.idl',
60         'nsITelephonyAudioService.idl',
61         'nsITelephonyMessenger.idl',
62     ]
63     EXTRA_COMPONENTS += [
64         'gonk/TelephonyAudioService.js',
65         'gonk/TelephonyAudioService.manifest',
66         'gonk/TelephonyService.js',
67         'gonk/TelephonyService.manifest',
68     ]
70 FAIL_ON_WARNINGS = True
71 include('/ipc/chromium/chromium-config.mozbuild')
73 FINAL_LIBRARY = 'xul'