2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:20 -08:00
|
|
|
# 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/.
|
|
|
|
|
2013-03-12 10:17:46 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsITelephonyProvider.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'dom_telephony'
|
|
|
|
|
2013-03-19 11:47:00 -07:00
|
|
|
MODULE = 'dom'
|
|
|
|
|
2013-09-11 20:47:14 -07:00
|
|
|
EXPORTS.mozilla.dom += [
|
2013-09-06 23:19:53 -07:00
|
|
|
'CallEvent.h',
|
|
|
|
'CallsList.h',
|
|
|
|
'Telephony.h',
|
|
|
|
'TelephonyCall.h',
|
|
|
|
'TelephonyCallGroup.h',
|
2013-09-11 20:47:14 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla.dom.telephony += [
|
2013-09-06 23:19:53 -07:00
|
|
|
'ipc/TelephonyChild.h',
|
|
|
|
'ipc/TelephonyParent.h',
|
2013-10-23 16:05:43 -07:00
|
|
|
'TelephonyCommon.h',
|
|
|
|
'TelephonyFactory.h',
|
2013-09-06 23:19:53 -07:00
|
|
|
]
|
|
|
|
|
2013-10-24 16:23:05 -07:00
|
|
|
SOURCES += [
|
2013-07-15 01:27:19 -07:00
|
|
|
'CallEvent.cpp',
|
|
|
|
'CallsList.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'ipc/TelephonyChild.cpp',
|
|
|
|
'ipc/TelephonyIPCProvider.cpp',
|
|
|
|
'ipc/TelephonyParent.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
'Telephony.cpp',
|
|
|
|
'TelephonyCall.cpp',
|
2013-07-06 03:24:55 -07:00
|
|
|
'TelephonyCallGroup.cpp',
|
2013-09-06 23:19:53 -07:00
|
|
|
'TelephonyFactory.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PTelephony.ipdl',
|
|
|
|
'ipc/PTelephonyRequest.ipdl',
|
|
|
|
'ipc/TelephonyTypes.ipdlh'
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-10-29 01:12:38 -07:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']:
|
2013-09-06 23:19:57 -07:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIGonkTelephonyProvider.idl',
|
|
|
|
]
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'gonk/TelephonyProvider.js',
|
|
|
|
'gonk/TelephonyProvider.manifest',
|
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-08-21 23:56:00 -07:00
|
|
|
LIBXUL_LIBRARY = True
|
|
|
|
|
2013-08-15 06:02:09 -07:00
|
|
|
LIBRARY_NAME = 'domtelephony_s'
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|