gecko-dev/dom/serviceworkers/moz.build

108 строки
3.1 KiB
Python

# -*- Mode: python; 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/.
with Files("**"):
BUG_COMPONENT = ("Core", "DOM: Service Workers")
# Public stuff.
EXPORTS.mozilla.dom += [
'ServiceWorker.h',
'ServiceWorkerActors.h',
'ServiceWorkerContainer.h',
'ServiceWorkerDescriptor.h',
'ServiceWorkerEvents.h',
'ServiceWorkerInfo.h',
'ServiceWorkerInterceptController.h',
'ServiceWorkerIPCUtils.h',
'ServiceWorkerManager.h',
'ServiceWorkerManagerChild.h',
'ServiceWorkerManagerParent.h',
'ServiceWorkerRegistrar.h',
'ServiceWorkerRegistration.h',
'ServiceWorkerRegistrationDescriptor.h',
'ServiceWorkerRegistrationInfo.h',
'ServiceWorkerUtils.h',
]
UNIFIED_SOURCES += [
'RemoteServiceWorkerContainerImpl.cpp',
'RemoteServiceWorkerImpl.cpp',
'RemoteServiceWorkerRegistrationImpl.cpp',
'ServiceWorker.cpp',
'ServiceWorkerActors.cpp',
'ServiceWorkerChild.cpp',
'ServiceWorkerCloneData.cpp',
'ServiceWorkerContainer.cpp',
'ServiceWorkerContainerChild.cpp',
'ServiceWorkerContainerImpl.cpp',
'ServiceWorkerContainerParent.cpp',
'ServiceWorkerContainerProxy.cpp',
'ServiceWorkerDescriptor.cpp',
'ServiceWorkerEvents.cpp',
'ServiceWorkerImpl.cpp',
'ServiceWorkerInfo.cpp',
'ServiceWorkerInterceptController.cpp',
'ServiceWorkerJob.cpp',
'ServiceWorkerJobQueue.cpp',
'ServiceWorkerManager.cpp',
'ServiceWorkerManagerChild.cpp',
'ServiceWorkerManagerParent.cpp',
'ServiceWorkerManagerService.cpp',
'ServiceWorkerParent.cpp',
'ServiceWorkerPrivate.cpp',
'ServiceWorkerProxy.cpp',
'ServiceWorkerRegisterJob.cpp',
'ServiceWorkerRegistrar.cpp',
'ServiceWorkerRegistration.cpp',
'ServiceWorkerRegistrationChild.cpp',
'ServiceWorkerRegistrationDescriptor.cpp',
'ServiceWorkerRegistrationImpl.cpp',
'ServiceWorkerRegistrationInfo.cpp',
'ServiceWorkerRegistrationParent.cpp',
'ServiceWorkerRegistrationProxy.cpp',
'ServiceWorkerScriptCache.cpp',
'ServiceWorkerUnregisterCallback.cpp',
'ServiceWorkerUnregisterJob.cpp',
'ServiceWorkerUpdateJob.cpp',
'ServiceWorkerUpdaterChild.cpp',
'ServiceWorkerUpdaterParent.cpp',
'ServiceWorkerUtils.cpp',
]
IPDL_SOURCES += [
'IPCServiceWorkerDescriptor.ipdlh',
'IPCServiceWorkerRegistrationDescriptor.ipdlh',
'PServiceWorker.ipdl',
'PServiceWorkerContainer.ipdl',
'PServiceWorkerManager.ipdl',
'PServiceWorkerRegistration.ipdl',
'PServiceWorkerUpdater.ipdl',
'ServiceWorkerRegistrarTypes.ipdlh',
]
include('/ipc/chromium/chromium-config.mozbuild')
FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
'/js/xpconnect/loader',
]
MOCHITEST_MANIFESTS += [
'test/mochitest.ini',
]
MOCHITEST_CHROME_MANIFESTS += [
'test/chrome.ini',
]
BROWSER_CHROME_MANIFESTS += [
'test/browser.ini',
'test/isolated/multi-e10s-update/browser.ini',
]
TEST_DIRS += ['test/gtest']