# -*- 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 += [ 'FetchEventOpChild.h', 'FetchEventOpParent.h', 'FetchEventOpProxyChild.h', 'FetchEventOpProxyParent.h', 'ServiceWorker.h', 'ServiceWorkerActors.h', 'ServiceWorkerCloneData.h', 'ServiceWorkerContainer.h', 'ServiceWorkerDescriptor.h', 'ServiceWorkerEvents.h', 'ServiceWorkerInfo.h', 'ServiceWorkerInterceptController.h', 'ServiceWorkerIPCUtils.h', 'ServiceWorkerManager.h', 'ServiceWorkerManagerChild.h', 'ServiceWorkerManagerParent.h', 'ServiceWorkerOp.h', 'ServiceWorkerOpPromise.h', 'ServiceWorkerRegistrar.h', 'ServiceWorkerRegistration.h', 'ServiceWorkerRegistrationDescriptor.h', 'ServiceWorkerRegistrationInfo.h', 'ServiceWorkerUtils.h', ] UNIFIED_SOURCES += [ 'FetchEventOpChild.cpp', 'FetchEventOpParent.cpp', 'FetchEventOpProxyChild.cpp', 'FetchEventOpProxyParent.cpp', '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', 'ServiceWorkerOp.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', 'ServiceWorkerShutdownBlocker.cpp', 'ServiceWorkerUnregisterCallback.cpp', 'ServiceWorkerUnregisterJob.cpp', 'ServiceWorkerUpdateJob.cpp', 'ServiceWorkerUpdaterChild.cpp', 'ServiceWorkerUpdaterParent.cpp', 'ServiceWorkerUtils.cpp', ] IPDL_SOURCES += [ 'IPCServiceWorkerDescriptor.ipdlh', 'IPCServiceWorkerRegistrationDescriptor.ipdlh', 'PFetchEventOp.ipdl', 'PFetchEventOpProxy.ipdl', 'PServiceWorker.ipdl', 'PServiceWorkerContainer.ipdl', 'PServiceWorkerManager.ipdl', 'PServiceWorkerRegistration.ipdl', 'PServiceWorkerUpdater.ipdl', 'ServiceWorkerOpArgs.ipdlh', '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']