Backed out changeset 06f41c22f3a6 (bug 1888460) for causing linux xpcshell failures...
[gecko.git] / dom / serviceworkers / moz.build
blobb42f765fc0d06760ba38000c90b7816f90537115
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/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "DOM: Service Workers")
10 # Public stuff.
11 EXPORTS.mozilla.dom += [
12     "FetchEventOpChild.h",
13     "FetchEventOpParent.h",
14     "FetchEventOpProxyChild.h",
15     "FetchEventOpProxyParent.h",
16     "NavigationPreloadManager.h",
17     "ServiceWorker.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",
32     "ServiceWorkerOp.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",
45 UNIFIED_SOURCES += [
46     "FetchEventOpChild.cpp",
47     "FetchEventOpParent.cpp",
48     "FetchEventOpProxyChild.cpp",
49     "FetchEventOpProxyParent.cpp",
50     "NavigationPreloadManager.cpp",
51     "ServiceWorker.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",
89 IPDL_SOURCES += [
90     "IPCNavigationPreloadState.ipdlh",
91     "IPCServiceWorkerDescriptor.ipdlh",
92     "IPCServiceWorkerRegistrationDescriptor.ipdlh",
93     "PFetchEventOp.ipdl",
94     "PFetchEventOpProxy.ipdl",
95     "PServiceWorker.ipdl",
96     "PServiceWorkerContainer.ipdl",
97     "PServiceWorkerManager.ipdl",
98     "PServiceWorkerRegistration.ipdl",
99     "ServiceWorkerOpArgs.ipdlh",
100     "ServiceWorkerRegistrarTypes.ipdlh",
103 LOCAL_INCLUDES += [
104     # For HttpBaseChannel.h dependencies
105     "/netwerk/base",
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",
122     "test/chrome.toml",
125 BROWSER_CHROME_MANIFESTS += [
126     "test/browser-dFPI.toml",
127     "test/browser.toml",
128     "test/isolated/multi-e10s-update/browser.toml",
131 TEST_DIRS += ["test/gtest"]