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 MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
9 EXPORTS.mozilla.dom += [
13 'MobileConnectionArray.h',
14 'MobileConnectionInfo.h',
15 'MobileNetworkInfo.h',
18 EXPORTS.mozilla.dom.mobileconnection += [
19 'ipc/ImsRegistrationChild.h',
20 'ipc/ImsRegistrationParent.h',
21 'ipc/MobileConnectionChild.h',
22 'ipc/MobileConnectionIPCSerializer.h',
23 'ipc/MobileConnectionParent.h',
24 'MobileCallForwardingOptions.h',
28 'interfaces/nsICellInfo.idl',
29 'interfaces/nsIImsRegService.idl',
30 'interfaces/nsIMobileCallForwardingOptions.idl',
31 'interfaces/nsIMobileCellInfo.idl',
32 'interfaces/nsIMobileConnectionInfo.idl',
33 'interfaces/nsIMobileConnectionService.idl',
34 'interfaces/nsIMobileNetworkInfo.idl',
35 'interfaces/nsINeighboringCellInfo.idl',
42 'ipc/ImsRegIPCService.cpp',
43 'ipc/ImsRegistrationChild.cpp',
44 'ipc/ImsRegistrationParent.cpp',
45 'ipc/MobileConnectionChild.cpp',
46 'ipc/MobileConnectionIPCService.cpp',
47 'ipc/MobileConnectionParent.cpp',
48 'MobileCallForwardingOptions.cpp',
50 'MobileConnectionArray.cpp',
51 'MobileConnectionCallback.cpp',
52 'MobileConnectionInfo.cpp',
53 'MobileNetworkInfo.cpp',
57 'MobileConnection.cpp', # Non-unified due to no_pgo
60 if CONFIG['_MSC_VER'] and CONFIG['CPU_ARCH'] == 'x86_64':
61 SOURCES['MobileConnection.cpp'].no_pgo = True # VS2013 crashes, bug 1084162
64 'ipc/PImsRegistration.ipdl',
65 'ipc/PImsRegistrationRequest.ipdl',
66 'ipc/PImsRegServiceFinder.ipdl',
67 'ipc/PMobileConnection.ipdl',
68 'ipc/PMobileConnectionRequest.ipdl',
69 'ipc/PMobileConnectionTypes.ipdlh',
72 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
74 'gonk/nsIGonkMobileConnectionService.idl',
75 'gonk/nsIMobileConnectionMessenger.idl',
77 if not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
79 'gonk/MobileConnectionService.js',
80 'gonk/MobileConnectionService.manifest',
87 FAIL_ON_WARNINGS = True
89 include('/ipc/chromium/chromium-config.mozbuild')
93 XPIDL_MODULE = 'dom_mobileconnection'