1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("Core", "DOM: Service Workers")
11 EXPORTS.mozilla.dom += [
12 "FetchEventOpChild.h",
13 "FetchEventOpParent.h",
14 "FetchEventOpProxyChild.h",
15 "FetchEventOpProxyParent.h",
16 "NavigationPreloadManager.h",
18 "ServiceWorkerActors.h",
19 "ServiceWorkerChild.h",
20 "ServiceWorkerCloneData.h",
21 "ServiceWorkerContainer.h",
22 "ServiceWorkerContainerChild.h",
23 "ServiceWorkerContainerParent.h",
24 "ServiceWorkerDescriptor.h",
25 "ServiceWorkerEvents.h",
26 "ServiceWorkerInfo.h",
27 "ServiceWorkerInterceptController.h",
28 "ServiceWorkerIPCUtils.h",
29 "ServiceWorkerManager.h",
30 "ServiceWorkerManagerChild.h",
31 "ServiceWorkerManagerParent.h",
33 "ServiceWorkerOpPromise.h",
34 "ServiceWorkerParent.h",
35 "ServiceWorkerRegistrar.h",
36 "ServiceWorkerRegistration.h",
37 "ServiceWorkerRegistrationChild.h",
38 "ServiceWorkerRegistrationDescriptor.h",
39 "ServiceWorkerRegistrationInfo.h",
40 "ServiceWorkerRegistrationParent.h",
41 "ServiceWorkerShutdownState.h",
42 "ServiceWorkerUtils.h",
46 "FetchEventOpChild.cpp",
47 "FetchEventOpParent.cpp",
48 "FetchEventOpProxyChild.cpp",
49 "FetchEventOpProxyParent.cpp",
50 "NavigationPreloadManager.cpp",
52 "ServiceWorkerActors.cpp",
53 "ServiceWorkerChild.cpp",
54 "ServiceWorkerCloneData.cpp",
55 "ServiceWorkerContainer.cpp",
56 "ServiceWorkerContainerChild.cpp",
57 "ServiceWorkerContainerParent.cpp",
58 "ServiceWorkerContainerProxy.cpp",
59 "ServiceWorkerDescriptor.cpp",
60 "ServiceWorkerEvents.cpp",
61 "ServiceWorkerInfo.cpp",
62 "ServiceWorkerInterceptController.cpp",
63 "ServiceWorkerJob.cpp",
64 "ServiceWorkerJobQueue.cpp",
65 "ServiceWorkerManager.cpp",
66 "ServiceWorkerManagerParent.cpp",
67 "ServiceWorkerOp.cpp",
68 "ServiceWorkerParent.cpp",
69 "ServiceWorkerPrivate.cpp",
70 "ServiceWorkerProxy.cpp",
71 "ServiceWorkerQuotaUtils.cpp",
72 "ServiceWorkerRegisterJob.cpp",
73 "ServiceWorkerRegistrar.cpp",
74 "ServiceWorkerRegistration.cpp",
75 "ServiceWorkerRegistrationChild.cpp",
76 "ServiceWorkerRegistrationDescriptor.cpp",
77 "ServiceWorkerRegistrationInfo.cpp",
78 "ServiceWorkerRegistrationParent.cpp",
79 "ServiceWorkerRegistrationProxy.cpp",
80 "ServiceWorkerScriptCache.cpp",
81 "ServiceWorkerShutdownBlocker.cpp",
82 "ServiceWorkerShutdownState.cpp",
83 "ServiceWorkerUnregisterCallback.cpp",
84 "ServiceWorkerUnregisterJob.cpp",
85 "ServiceWorkerUpdateJob.cpp",
86 "ServiceWorkerUtils.cpp",
90 "IPCNavigationPreloadState.ipdlh",
91 "IPCServiceWorkerDescriptor.ipdlh",
92 "IPCServiceWorkerRegistrationDescriptor.ipdlh",
94 "PFetchEventOpProxy.ipdl",
95 "PServiceWorker.ipdl",
96 "PServiceWorkerContainer.ipdl",
97 "PServiceWorkerManager.ipdl",
98 "PServiceWorkerRegistration.ipdl",
99 "ServiceWorkerOpArgs.ipdlh",
100 "ServiceWorkerRegistrarTypes.ipdlh",
104 # For HttpBaseChannel.h dependencies
106 # For HttpBaseChannel.h
107 "/netwerk/protocol/http",
110 include("/ipc/chromium/chromium-config.mozbuild")
112 FINAL_LIBRARY = "xul"
114 MOCHITEST_MANIFESTS += [
115 "test/mochitest-dFPI.toml",
116 "test/mochitest.toml",
117 "test/performance/perftest.toml",
120 MOCHITEST_CHROME_MANIFESTS += [
121 "test/chrome-dFPI.toml",
125 BROWSER_CHROME_MANIFESTS += [
126 "test/browser-dFPI.toml",
128 "test/isolated/multi-e10s-update/browser.toml",
131 TEST_DIRS += ["test/gtest"]