Bug 1835710 - Cancel off-thread JIT compilation before changing nursery allocation...
[gecko.git] / dom / push / moz.build
blobfa2a7c8815769e97e95caf459873dbacd5fe4913
1 # vim: set filetype=python:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 with Files("**"):
7     BUG_COMPONENT = ("Core", "DOM: Push Notifications")
9 EXTRA_COMPONENTS += [
10     "Push.manifest",
13 EXTRA_JS_MODULES += [
14     "Push.sys.mjs",
15     "PushBroadcastService.sys.mjs",
16     "PushComponents.sys.mjs",
17     "PushCrypto.sys.mjs",
18     "PushDB.sys.mjs",
19     "PushRecord.sys.mjs",
20     "PushService.sys.mjs",
23 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
24     # Everything but GeckoView.
25     EXTRA_JS_MODULES += [
26         "PushServiceHttp2.sys.mjs",
27         "PushServiceWebSocket.sys.mjs",
28     ]
30 XPCOM_MANIFESTS += [
31     "components.conf",
34 MOCHITEST_MANIFESTS += [
35     "test/mochitest.ini",
38 XPCSHELL_TESTS_MANIFESTS += [
39     "test/xpcshell/xpcshell.ini",
42 EXPORTS.mozilla.dom += [
43     "PushManager.h",
44     "PushNotifier.h",
45     "PushSubscription.h",
46     "PushSubscriptionOptions.h",
47     "PushUtil.h",
50 UNIFIED_SOURCES += [
51     "PushManager.cpp",
52     "PushNotifier.cpp",
53     "PushSubscription.cpp",
54     "PushSubscriptionOptions.cpp",
55     "PushUtil.cpp",
58 TEST_DIRS += ["test/xpcshell"]
60 include("/ipc/chromium/chromium-config.mozbuild")
62 LOCAL_INCLUDES += [
63     "../base",
64     "../ipc",
67 FINAL_LIBRARY = "xul"