summaryrefslogtreecommitdiffstats
path: root/browser/components/asrouter/moz.build
blob: cf45186619b3a028d3e971c6cc525796c0d0c172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# -*- 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/.

JAR_MANIFESTS += ["jar.mn"]

with Files("**"):
    BUG_COMPONENT = ("Firefox", "Messaging System")

FINAL_TARGET_FILES.actors += [
    "actors/ASRouterChild.sys.mjs",
    "actors/ASRouterParent.sys.mjs",
]

EXTRA_JS_MODULES.asrouter += [
    "modules/ActorConstants.mjs",
    "modules/ASRouter.sys.mjs",
    "modules/ASRouterDefaultConfig.sys.mjs",
    "modules/ASRouterNewTabHook.sys.mjs",
    "modules/ASRouterParentProcessMessageHandler.sys.mjs",
    "modules/ASRouterPreferences.sys.mjs",
    "modules/ASRouterTargeting.sys.mjs",
    "modules/ASRouterTriggerListeners.sys.mjs",
    "modules/CFRMessageProvider.sys.mjs",
    "modules/CFRPageActions.sys.mjs",
    "modules/FeatureCallout.sys.mjs",
    "modules/FeatureCalloutBroker.sys.mjs",
    "modules/FeatureCalloutMessages.sys.mjs",
    "modules/InfoBar.sys.mjs",
    "modules/MessagingExperimentConstants.sys.mjs",
    "modules/MomentsPageHub.sys.mjs",
    "modules/OnboardingMessageProvider.sys.mjs",
    "modules/PageEventManager.sys.mjs",
    "modules/PanelTestProvider.sys.mjs",
    "modules/RemoteL10n.sys.mjs",
    "modules/Spotlight.sys.mjs",
    "modules/ToastNotification.sys.mjs",
    "modules/ToolbarBadgeHub.sys.mjs",
]

BROWSER_CHROME_MANIFESTS += [
    "tests/browser/browser.toml",
]

XPCSHELL_TESTS_MANIFESTS += [
    "tests/xpcshell/xpcshell.toml",
]

TESTING_JS_MODULES += [
    "content-src/schemas/FxMSCommon.schema.json",
    "content-src/templates/CFR/templates/CFRUrlbarChiclet.schema.json",
    "content-src/templates/CFR/templates/ExtensionDoorhanger.schema.json",
    "content-src/templates/CFR/templates/InfoBar.schema.json",
    "content-src/templates/OnboardingMessage/Spotlight.schema.json",
    "content-src/templates/OnboardingMessage/ToolbarBadgeMessage.schema.json",
    "content-src/templates/OnboardingMessage/UpdateAction.schema.json",
    "content-src/templates/PBNewtab/NewtabPromoMessage.schema.json",
    "content-src/templates/ToastNotification/ToastNotification.schema.json",
    "tests/InflightAssetsMessageProvider.sys.mjs",
    "tests/NimbusRolloutMessageProvider.sys.mjs",
]

SPHINX_TREES["docs"] = "docs"