2013-12-23 23:55:52 -08: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-08-27 10:13:29 -07:00
|
|
|
DIRS += ['interfaces']
|
2014-07-25 23:17:24 -07:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
2014-08-27 10:13:29 -07:00
|
|
|
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'DOMMMIError.h',
|
2014-07-01 03:09:08 -07:00
|
|
|
'ipc/MobileConnectionIPCSerializer.h',
|
2014-08-27 10:13:29 -07:00
|
|
|
'MobileCellInfo.h',
|
|
|
|
'MobileConnection.h',
|
|
|
|
'MobileConnectionArray.h',
|
2014-07-02 02:38:23 -07:00
|
|
|
'MobileConnectionCallback.h',
|
2014-08-27 10:13:29 -07:00
|
|
|
'MobileConnectionInfo.h',
|
|
|
|
'MobileNetworkInfo.h',
|
|
|
|
]
|
|
|
|
|
2014-07-01 03:28:18 -07:00
|
|
|
EXPORTS.mozilla.dom.mobileconnection += [
|
|
|
|
'ipc/MobileConnectionChild.h',
|
2014-07-01 03:37:32 -07:00
|
|
|
'ipc/MobileConnectionIPCService.h',
|
2014-07-01 03:28:18 -07:00
|
|
|
'ipc/MobileConnectionParent.h',
|
|
|
|
]
|
|
|
|
|
2014-08-27 10:13:29 -07:00
|
|
|
SOURCES += [
|
|
|
|
'DOMMMIError.cpp',
|
2014-07-01 03:28:18 -07:00
|
|
|
'ipc/MobileConnectionChild.cpp',
|
2014-07-01 03:37:32 -07:00
|
|
|
'ipc/MobileConnectionIPCService.cpp',
|
2014-07-01 03:28:18 -07:00
|
|
|
'ipc/MobileConnectionParent.cpp',
|
2014-08-27 10:13:29 -07:00
|
|
|
'MobileCellInfo.cpp',
|
|
|
|
'MobileConnection.cpp',
|
|
|
|
'MobileConnectionArray.cpp',
|
2014-07-02 02:38:23 -07:00
|
|
|
'MobileConnectionCallback.cpp',
|
2014-08-27 10:13:29 -07:00
|
|
|
'MobileConnectionInfo.cpp',
|
|
|
|
'MobileNetworkInfo.cpp',
|
|
|
|
]
|
|
|
|
|
2014-07-01 03:09:08 -07:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PMobileConnection.ipdl',
|
|
|
|
'ipc/PMobileConnectionRequest.ipdl',
|
|
|
|
'ipc/PMobileConnectionTypes.ipdlh',
|
|
|
|
]
|
|
|
|
|
2014-02-10 03:55:22 -08:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'gonk/MobileConnectionGonkService.js',
|
|
|
|
'gonk/MobileConnectionGonkService.manifest',
|
|
|
|
]
|
|
|
|
|
2014-08-27 10:13:29 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|