2013-12-24 11:55:52 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
|
|
# 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/.
|
|
|
|
|
2014-07-26 10:17:24 +04:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
2014-08-27 21:13:29 +04:00
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'MobileCellInfo.h',
|
|
|
|
'MobileConnection.h',
|
|
|
|
'MobileConnectionArray.h',
|
|
|
|
'MobileConnectionInfo.h',
|
|
|
|
'MobileNetworkInfo.h',
|
|
|
|
]
|
|
|
|
|
2014-07-01 14:28:18 +04:00
|
|
|
EXPORTS.mozilla.dom.mobileconnection += [
|
|
|
|
'ipc/MobileConnectionChild.h',
|
2014-09-21 11:24:42 +04:00
|
|
|
'ipc/MobileConnectionIPCSerializer.h',
|
2014-07-01 14:28:18 +04:00
|
|
|
'ipc/MobileConnectionParent.h',
|
2014-10-08 10:33:00 +04:00
|
|
|
'MobileCallForwardingOptions.h',
|
2014-07-01 14:28:18 +04:00
|
|
|
]
|
|
|
|
|
2014-09-21 11:24:42 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'interfaces/nsICellInfo.idl',
|
2014-10-08 10:29:00 +04:00
|
|
|
'interfaces/nsIMobileCallForwardingOptions.idl',
|
2014-09-21 11:24:42 +04:00
|
|
|
'interfaces/nsIMobileCellInfo.idl',
|
|
|
|
'interfaces/nsIMobileConnectionInfo.idl',
|
|
|
|
'interfaces/nsIMobileConnectionService.idl',
|
2015-11-10 10:29:36 +03:00
|
|
|
'interfaces/nsIMobileDeviceIdentities.idl',
|
2014-09-21 11:24:42 +04:00
|
|
|
'interfaces/nsIMobileNetworkInfo.idl',
|
|
|
|
'interfaces/nsINeighboringCellInfo.idl',
|
|
|
|
]
|
|
|
|
|
2014-09-25 18:10:42 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2014-10-21 10:31:44 +04:00
|
|
|
'Assertions.cpp',
|
2014-07-01 14:28:18 +04:00
|
|
|
'ipc/MobileConnectionChild.cpp',
|
2014-07-01 14:37:32 +04:00
|
|
|
'ipc/MobileConnectionIPCService.cpp',
|
2014-07-01 14:28:18 +04:00
|
|
|
'ipc/MobileConnectionParent.cpp',
|
2014-10-08 10:33:00 +04:00
|
|
|
'MobileCallForwardingOptions.cpp',
|
2014-08-27 21:13:29 +04:00
|
|
|
'MobileCellInfo.cpp',
|
|
|
|
'MobileConnectionArray.cpp',
|
2014-07-02 13:38:23 +04:00
|
|
|
'MobileConnectionCallback.cpp',
|
2014-08-27 21:13:29 +04:00
|
|
|
'MobileConnectionInfo.cpp',
|
|
|
|
'MobileNetworkInfo.cpp',
|
|
|
|
]
|
|
|
|
|
2014-11-04 04:28:06 +03:00
|
|
|
SOURCES += [
|
|
|
|
'MobileConnection.cpp', # Non-unified due to no_pgo
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['_MSC_VER'] and CONFIG['CPU_ARCH'] == 'x86_64':
|
|
|
|
SOURCES['MobileConnection.cpp'].no_pgo = True # VS2013 crashes, bug 1084162
|
|
|
|
|
2014-07-01 14:09:08 +04:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PMobileConnection.ipdl',
|
|
|
|
'ipc/PMobileConnectionRequest.ipdl',
|
|
|
|
'ipc/PMobileConnectionTypes.ipdlh',
|
|
|
|
]
|
|
|
|
|
2014-08-05 14:01:14 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
|
2014-09-21 11:24:42 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'gonk/nsIGonkMobileConnectionService.idl',
|
2014-10-24 14:40:39 +04:00
|
|
|
'gonk/nsIMobileConnectionMessenger.idl',
|
2014-09-21 11:24:42 +04:00
|
|
|
]
|
2015-02-27 00:51:20 +03:00
|
|
|
if not CONFIG['DISABLE_MOZ_RIL_GEOLOC']:
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'gonk/MobileConnectionService.js',
|
|
|
|
'gonk/MobileConnectionService.manifest',
|
|
|
|
]
|
2014-02-10 15:55:22 +04:00
|
|
|
|
2014-11-13 14:12:11 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/system/gonk',
|
|
|
|
]
|
|
|
|
|
2014-08-27 21:13:29 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-09-21 11:24:42 +04:00
|
|
|
|
|
|
|
XPIDL_MODULE = 'dom_mobileconnection'
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|