Bumping manifests a=b2g-bump
[gecko.git] / dom / mobileconnection / moz.build
blob7f8a1693f9bfe066905dd8f58b13cae3ca4af2ef
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 += [
10     'ImsRegHandler.h',
11     'MobileCellInfo.h',
12     'MobileConnection.h',
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',
27 XPIDL_SOURCES += [
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',
38 UNIFIED_SOURCES += [
39     'Assertions.cpp',
40     'ImsRegCallback.cpp',
41     'ImsRegHandler.cpp',
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',
49     'MobileCellInfo.cpp',
50     'MobileConnectionArray.cpp',
51     'MobileConnectionCallback.cpp',
52     'MobileConnectionInfo.cpp',
53     'MobileNetworkInfo.cpp',
56 SOURCES += [
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
63 IPDL_SOURCES += [
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']:
73     XPIDL_SOURCES += [
74         'gonk/nsIGonkMobileConnectionService.idl',
75         'gonk/nsIMobileConnectionMessenger.idl',
76     ]
77     if not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
78         EXTRA_COMPONENTS += [
79             'gonk/MobileConnectionService.js',
80             'gonk/MobileConnectionService.manifest',
81         ]
83 LOCAL_INCLUDES += [
84     '/dom/system/gonk',
87 FAIL_ON_WARNINGS = True
89 include('/ipc/chromium/chromium-config.mozbuild')
91 FINAL_LIBRARY = 'xul'
93 XPIDL_MODULE = 'dom_mobileconnection'