summaryrefslogtreecommitdiffstats
path: root/dom/serviceworkers/moz.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /dom/serviceworkers/moz.build
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/serviceworkers/moz.build')
-rw-r--r--dom/serviceworkers/moz.build130
1 files changed, 130 insertions, 0 deletions
diff --git a/dom/serviceworkers/moz.build b/dom/serviceworkers/moz.build
new file mode 100644
index 0000000000..c47bb8f74f
--- /dev/null
+++ b/dom/serviceworkers/moz.build
@@ -0,0 +1,130 @@
+# -*- 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",
+ "NavigationPreloadManager.h",
+ "ServiceWorker.h",
+ "ServiceWorkerActors.h",
+ "ServiceWorkerChild.h",
+ "ServiceWorkerCloneData.h",
+ "ServiceWorkerContainer.h",
+ "ServiceWorkerContainerChild.h",
+ "ServiceWorkerContainerParent.h",
+ "ServiceWorkerDescriptor.h",
+ "ServiceWorkerEvents.h",
+ "ServiceWorkerInfo.h",
+ "ServiceWorkerInterceptController.h",
+ "ServiceWorkerIPCUtils.h",
+ "ServiceWorkerManager.h",
+ "ServiceWorkerManagerChild.h",
+ "ServiceWorkerManagerParent.h",
+ "ServiceWorkerOp.h",
+ "ServiceWorkerOpPromise.h",
+ "ServiceWorkerParent.h",
+ "ServiceWorkerRegistrar.h",
+ "ServiceWorkerRegistration.h",
+ "ServiceWorkerRegistrationChild.h",
+ "ServiceWorkerRegistrationDescriptor.h",
+ "ServiceWorkerRegistrationInfo.h",
+ "ServiceWorkerRegistrationParent.h",
+ "ServiceWorkerShutdownState.h",
+ "ServiceWorkerUtils.h",
+]
+
+UNIFIED_SOURCES += [
+ "FetchEventOpChild.cpp",
+ "FetchEventOpParent.cpp",
+ "FetchEventOpProxyChild.cpp",
+ "FetchEventOpProxyParent.cpp",
+ "NavigationPreloadManager.cpp",
+ "ServiceWorker.cpp",
+ "ServiceWorkerActors.cpp",
+ "ServiceWorkerChild.cpp",
+ "ServiceWorkerCloneData.cpp",
+ "ServiceWorkerContainer.cpp",
+ "ServiceWorkerContainerChild.cpp",
+ "ServiceWorkerContainerParent.cpp",
+ "ServiceWorkerContainerProxy.cpp",
+ "ServiceWorkerDescriptor.cpp",
+ "ServiceWorkerEvents.cpp",
+ "ServiceWorkerInfo.cpp",
+ "ServiceWorkerInterceptController.cpp",
+ "ServiceWorkerJob.cpp",
+ "ServiceWorkerJobQueue.cpp",
+ "ServiceWorkerManager.cpp",
+ "ServiceWorkerManagerParent.cpp",
+ "ServiceWorkerOp.cpp",
+ "ServiceWorkerParent.cpp",
+ "ServiceWorkerPrivate.cpp",
+ "ServiceWorkerProxy.cpp",
+ "ServiceWorkerQuotaUtils.cpp",
+ "ServiceWorkerRegisterJob.cpp",
+ "ServiceWorkerRegistrar.cpp",
+ "ServiceWorkerRegistration.cpp",
+ "ServiceWorkerRegistrationChild.cpp",
+ "ServiceWorkerRegistrationDescriptor.cpp",
+ "ServiceWorkerRegistrationInfo.cpp",
+ "ServiceWorkerRegistrationParent.cpp",
+ "ServiceWorkerRegistrationProxy.cpp",
+ "ServiceWorkerScriptCache.cpp",
+ "ServiceWorkerShutdownBlocker.cpp",
+ "ServiceWorkerShutdownState.cpp",
+ "ServiceWorkerUnregisterCallback.cpp",
+ "ServiceWorkerUnregisterJob.cpp",
+ "ServiceWorkerUpdateJob.cpp",
+ "ServiceWorkerUtils.cpp",
+]
+
+IPDL_SOURCES += [
+ "IPCNavigationPreloadState.ipdlh",
+ "IPCServiceWorkerDescriptor.ipdlh",
+ "IPCServiceWorkerRegistrationDescriptor.ipdlh",
+ "PFetchEventOp.ipdl",
+ "PFetchEventOpProxy.ipdl",
+ "PServiceWorker.ipdl",
+ "PServiceWorkerContainer.ipdl",
+ "PServiceWorkerManager.ipdl",
+ "PServiceWorkerRegistration.ipdl",
+ "ServiceWorkerOpArgs.ipdlh",
+ "ServiceWorkerRegistrarTypes.ipdlh",
+]
+
+LOCAL_INCLUDES += [
+ # For HttpBaseChannel.h dependencies
+ "/netwerk/base",
+ # For HttpBaseChannel.h
+ "/netwerk/protocol/http",
+]
+
+include("/ipc/chromium/chromium-config.mozbuild")
+
+FINAL_LIBRARY = "xul"
+
+MOCHITEST_MANIFESTS += [
+ "test/mochitest-dFPI.ini",
+ "test/mochitest.ini",
+]
+
+MOCHITEST_CHROME_MANIFESTS += [
+ "test/chrome-dFPI.ini",
+ "test/chrome.ini",
+]
+
+BROWSER_CHROME_MANIFESTS += [
+ "test/browser-dFPI.ini",
+ "test/browser.ini",
+ "test/isolated/multi-e10s-update/browser.ini",
+]
+
+TEST_DIRS += ["test/gtest"]