1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/telephony/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,58 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +XPIDL_SOURCES += [ 1.11 + 'nsITelephonyProvider.idl', 1.12 +] 1.13 + 1.14 +XPIDL_MODULE = 'dom_telephony' 1.15 + 1.16 +EXPORTS.mozilla.dom += [ 1.17 + 'CallEvent.h', 1.18 + 'CallsList.h', 1.19 + 'Telephony.h', 1.20 + 'TelephonyCall.h', 1.21 + 'TelephonyCallGroup.h', 1.22 +] 1.23 + 1.24 +EXPORTS.mozilla.dom.telephony += [ 1.25 + 'ipc/TelephonyChild.h', 1.26 + 'ipc/TelephonyParent.h', 1.27 + 'TelephonyCommon.h', 1.28 + 'TelephonyFactory.h', 1.29 +] 1.30 + 1.31 +UNIFIED_SOURCES += [ 1.32 + 'CallEvent.cpp', 1.33 + 'CallsList.cpp', 1.34 + 'ipc/TelephonyChild.cpp', 1.35 + 'ipc/TelephonyIPCProvider.cpp', 1.36 + 'ipc/TelephonyParent.cpp', 1.37 + 'Telephony.cpp', 1.38 + 'TelephonyCall.cpp', 1.39 + 'TelephonyCallGroup.cpp', 1.40 + 'TelephonyFactory.cpp', 1.41 +] 1.42 + 1.43 +IPDL_SOURCES += [ 1.44 + 'ipc/PTelephony.ipdl', 1.45 + 'ipc/PTelephonyRequest.ipdl', 1.46 + 'ipc/TelephonyTypes.ipdlh' 1.47 +] 1.48 + 1.49 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']: 1.50 + XPIDL_SOURCES += [ 1.51 + 'nsIGonkTelephonyProvider.idl', 1.52 + ] 1.53 + EXTRA_COMPONENTS += [ 1.54 + 'gonk/TelephonyProvider.js', 1.55 + 'gonk/TelephonyProvider.manifest', 1.56 + ] 1.57 + 1.58 +FAIL_ON_WARNINGS = True 1.59 +include('/ipc/chromium/chromium-config.mozbuild') 1.60 + 1.61 +FINAL_LIBRARY = 'gklayout'