2014-08-27 06:28:03 +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-11-18 00:34:10 +03:00
|
|
|
DIRS += ['interfaces', 'provider']
|
2014-08-27 06:28:03 +04:00
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/xpcshell/xpcshell.ini']
|
2014-11-15 00:55:24 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest/mochitest.ini']
|
2016-04-11 06:20:55 +03:00
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/mochitest/chrome.ini']
|
2014-08-27 06:28:03 +04:00
|
|
|
|
2015-03-19 10:48:28 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
2015-03-26 06:16:21 +03:00
|
|
|
'ipc/PresentationChild.h',
|
|
|
|
'ipc/PresentationIPCService.h',
|
|
|
|
'ipc/PresentationParent.h',
|
2015-03-19 10:48:28 +03:00
|
|
|
'Presentation.h',
|
2015-09-14 05:39:57 +03:00
|
|
|
'PresentationAvailability.h',
|
2015-03-30 09:27:27 +03:00
|
|
|
'PresentationCallbacks.h',
|
2015-10-12 05:36:31 +03:00
|
|
|
'PresentationConnection.h',
|
2014-08-27 06:28:03 +04:00
|
|
|
'PresentationDeviceManager.h',
|
2015-09-22 13:36:47 +03:00
|
|
|
'PresentationReceiver.h',
|
2015-09-14 05:39:57 +03:00
|
|
|
'PresentationRequest.h',
|
2015-03-25 14:47:56 +03:00
|
|
|
'PresentationService.h',
|
|
|
|
'PresentationSessionInfo.h',
|
2015-09-24 11:16:47 +03:00
|
|
|
'PresentationTCPSessionTransport.h',
|
2014-08-27 06:28:03 +04:00
|
|
|
]
|
|
|
|
|
2015-03-19 10:48:28 +03:00
|
|
|
UNIFIED_SOURCES += [
|
2015-03-26 06:16:21 +03:00
|
|
|
'ipc/PresentationChild.cpp',
|
|
|
|
'ipc/PresentationIPCService.cpp',
|
|
|
|
'ipc/PresentationParent.cpp',
|
2015-03-19 10:48:28 +03:00
|
|
|
'Presentation.cpp',
|
2015-09-14 05:39:57 +03:00
|
|
|
'PresentationAvailability.cpp',
|
2015-03-30 09:27:27 +03:00
|
|
|
'PresentationCallbacks.cpp',
|
2015-10-12 05:36:31 +03:00
|
|
|
'PresentationConnection.cpp',
|
2014-08-27 06:28:03 +04:00
|
|
|
'PresentationDeviceManager.cpp',
|
2015-09-22 13:36:47 +03:00
|
|
|
'PresentationReceiver.cpp',
|
2015-09-14 05:39:57 +03:00
|
|
|
'PresentationRequest.cpp',
|
2015-03-25 14:47:56 +03:00
|
|
|
'PresentationService.cpp',
|
2015-03-30 09:27:27 +03:00
|
|
|
'PresentationSessionInfo.cpp',
|
2014-08-27 06:28:03 +04:00
|
|
|
'PresentationSessionRequest.cpp',
|
2015-09-24 11:16:47 +03:00
|
|
|
'PresentationTCPSessionTransport.cpp',
|
2014-08-27 06:28:03 +04:00
|
|
|
]
|
|
|
|
|
2014-11-15 00:55:24 +03:00
|
|
|
EXTRA_COMPONENTS += [
|
2016-04-11 06:20:55 +03:00
|
|
|
'PresentationDataChannelSessionTransport.js',
|
|
|
|
'PresentationDataChannelSessionTransport.manifest',
|
2014-11-15 00:55:24 +03:00
|
|
|
'PresentationDeviceInfoManager.js',
|
|
|
|
'PresentationDeviceInfoManager.manifest',
|
|
|
|
]
|
|
|
|
|
2015-10-19 00:06:00 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'PresentationNetworkHelper.js',
|
|
|
|
'PresentationNetworkHelper.manifest',
|
|
|
|
]
|
|
|
|
|
2014-11-15 00:55:24 +03:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
'PresentationDeviceInfoManager.jsm',
|
|
|
|
]
|
|
|
|
|
2015-03-26 06:16:21 +03:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'ipc/PPresentation.ipdl',
|
|
|
|
'ipc/PPresentationRequest.ipdl'
|
|
|
|
]
|
|
|
|
|
2014-08-27 06:28:03 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
2015-09-23 07:39:03 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wshadow']
|