Source code

Revision control

Other Tools

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/.
6
7
with Files("**"):
8
BUG_COMPONENT = ("Core", "DOM: Service Workers")
9
10
# Public stuff.
11
EXPORTS.mozilla.dom += [
12
'FetchEventOpChild.h',
13
'FetchEventOpParent.h',
14
'FetchEventOpProxyChild.h',
15
'FetchEventOpProxyParent.h',
16
'ServiceWorker.h',
17
'ServiceWorkerActors.h',
18
'ServiceWorkerCloneData.h',
19
'ServiceWorkerContainer.h',
20
'ServiceWorkerDescriptor.h',
21
'ServiceWorkerEvents.h',
22
'ServiceWorkerInfo.h',
23
'ServiceWorkerInterceptController.h',
24
'ServiceWorkerIPCUtils.h',
25
'ServiceWorkerManager.h',
26
'ServiceWorkerManagerChild.h',
27
'ServiceWorkerManagerParent.h',
28
'ServiceWorkerOp.h',
29
'ServiceWorkerOpPromise.h',
30
'ServiceWorkerRegistrar.h',
31
'ServiceWorkerRegistration.h',
32
'ServiceWorkerRegistrationDescriptor.h',
33
'ServiceWorkerRegistrationInfo.h',
34
'ServiceWorkerUtils.h',
35
]
36
37
UNIFIED_SOURCES += [
38
'FetchEventOpChild.cpp',
39
'FetchEventOpParent.cpp',
40
'FetchEventOpProxyChild.cpp',
41
'FetchEventOpProxyParent.cpp',
42
'RemoteServiceWorkerContainerImpl.cpp',
43
'RemoteServiceWorkerImpl.cpp',
44
'RemoteServiceWorkerRegistrationImpl.cpp',
45
'ServiceWorker.cpp',
46
'ServiceWorkerActors.cpp',
47
'ServiceWorkerChild.cpp',
48
'ServiceWorkerCloneData.cpp',
49
'ServiceWorkerContainer.cpp',
50
'ServiceWorkerContainerChild.cpp',
51
'ServiceWorkerContainerImpl.cpp',
52
'ServiceWorkerContainerParent.cpp',
53
'ServiceWorkerContainerProxy.cpp',
54
'ServiceWorkerDescriptor.cpp',
55
'ServiceWorkerEvents.cpp',
56
'ServiceWorkerImpl.cpp',
57
'ServiceWorkerInfo.cpp',
58
'ServiceWorkerInterceptController.cpp',
59
'ServiceWorkerJob.cpp',
60
'ServiceWorkerJobQueue.cpp',
61
'ServiceWorkerManager.cpp',
62
'ServiceWorkerManagerChild.cpp',
63
'ServiceWorkerManagerParent.cpp',
64
'ServiceWorkerManagerService.cpp',
65
'ServiceWorkerOp.cpp',
66
'ServiceWorkerParent.cpp',
67
'ServiceWorkerPrivate.cpp',
68
'ServiceWorkerPrivateImpl.cpp',
69
'ServiceWorkerProxy.cpp',
70
'ServiceWorkerRegisterJob.cpp',
71
'ServiceWorkerRegistrar.cpp',
72
'ServiceWorkerRegistration.cpp',
73
'ServiceWorkerRegistrationChild.cpp',
74
'ServiceWorkerRegistrationDescriptor.cpp',
75
'ServiceWorkerRegistrationImpl.cpp',
76
'ServiceWorkerRegistrationInfo.cpp',
77
'ServiceWorkerRegistrationParent.cpp',
78
'ServiceWorkerRegistrationProxy.cpp',
79
'ServiceWorkerScriptCache.cpp',
80
'ServiceWorkerShutdownBlocker.cpp',
81
'ServiceWorkerUnregisterCallback.cpp',
82
'ServiceWorkerUnregisterJob.cpp',
83
'ServiceWorkerUpdateJob.cpp',
84
'ServiceWorkerUpdaterChild.cpp',
85
'ServiceWorkerUpdaterParent.cpp',
86
'ServiceWorkerUtils.cpp',
87
]
88
89
IPDL_SOURCES += [
90
'IPCServiceWorkerDescriptor.ipdlh',
91
'IPCServiceWorkerRegistrationDescriptor.ipdlh',
92
'PFetchEventOp.ipdl',
93
'PFetchEventOpProxy.ipdl',
94
'PServiceWorker.ipdl',
95
'PServiceWorkerContainer.ipdl',
96
'PServiceWorkerManager.ipdl',
97
'PServiceWorkerRegistration.ipdl',
98
'PServiceWorkerUpdater.ipdl',
99
'ServiceWorkerOpArgs.ipdlh',
100
'ServiceWorkerRegistrarTypes.ipdlh',
101
]
102
103
include('/ipc/chromium/chromium-config.mozbuild')
104
105
FINAL_LIBRARY = 'xul'
106
107
LOCAL_INCLUDES += [
108
'/extensions/permissions',
109
'/js/xpconnect/loader',
110
]
111
112
MOCHITEST_MANIFESTS += [
113
'test/mochitest.ini',
114
]
115
116
MOCHITEST_CHROME_MANIFESTS += [
117
'test/chrome.ini',
118
]
119
120
BROWSER_CHROME_MANIFESTS += [
121
'test/browser.ini',
122
'test/isolated/multi-e10s-update/browser.ini',
123
]
124
125
TEST_DIRS += ['test/gtest']