michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: XPIDL_SOURCES += [ michael@0: 'nsITelephonyProvider.idl', michael@0: ] michael@0: michael@0: XPIDL_MODULE = 'dom_telephony' michael@0: michael@0: EXPORTS.mozilla.dom += [ michael@0: 'CallEvent.h', michael@0: 'CallsList.h', michael@0: 'Telephony.h', michael@0: 'TelephonyCall.h', michael@0: 'TelephonyCallGroup.h', michael@0: ] michael@0: michael@0: EXPORTS.mozilla.dom.telephony += [ michael@0: 'ipc/TelephonyChild.h', michael@0: 'ipc/TelephonyParent.h', michael@0: 'TelephonyCommon.h', michael@0: 'TelephonyFactory.h', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'CallEvent.cpp', michael@0: 'CallsList.cpp', michael@0: 'ipc/TelephonyChild.cpp', michael@0: 'ipc/TelephonyIPCProvider.cpp', michael@0: 'ipc/TelephonyParent.cpp', michael@0: 'Telephony.cpp', michael@0: 'TelephonyCall.cpp', michael@0: 'TelephonyCallGroup.cpp', michael@0: 'TelephonyFactory.cpp', michael@0: ] michael@0: michael@0: IPDL_SOURCES += [ michael@0: 'ipc/PTelephony.ipdl', michael@0: 'ipc/PTelephonyRequest.ipdl', michael@0: 'ipc/TelephonyTypes.ipdlh' michael@0: ] michael@0: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk' and CONFIG['MOZ_B2G_RIL']: michael@0: XPIDL_SOURCES += [ michael@0: 'nsIGonkTelephonyProvider.idl', michael@0: ] michael@0: EXTRA_COMPONENTS += [ michael@0: 'gonk/TelephonyProvider.js', michael@0: 'gonk/TelephonyProvider.manifest', michael@0: ] michael@0: michael@0: FAIL_ON_WARNINGS = True michael@0: include('/ipc/chromium/chromium-config.mozbuild') michael@0: michael@0: FINAL_LIBRARY = 'gklayout'