Backed out 3 changesets (bug 1854908, bug 1854620, bug 1854618) for causing bc failur...
[gecko.git] / toolkit / components / moz.build
blob02d119e7f4146256f77bec8db5448df4d7314c57
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 = ("Toolkit", "General")
10 # These component dirs are built for all apps (including suite)
11 if CONFIG["MOZ_HAS_REMOTE"]:
12     DIRS += ["remote"]
14 DIRS += [
15     "aboutcheckerboard",
16     "aboutmemory",
17     "aboutprocesses",
18     "alerts",
19     "antitracking",
20     "apppicker",
21     "asyncshutdown",
22     "backgroundhangmonitor",
23     "bitsdownload",
24     "browser",
25     "cascade_bloom_filter",
26     "certviewer",
27     "cleardata",
28     "clearsitedata",
29     "cookiebanners",
30     "commandlines",
31     "contentprefs",
32     "contextualidentity",
33     "crashes",
34     "crashmonitor",
35     "credentialmanagement",
36     "downloads",
37     "enterprisepolicies",
38     "extensions",
39     "featuregates",
40     "formautofill",
41     "finalizationwitness",
42     "find",
43     "forgetaboutsite",
44     "glean",
45     "httpsonlyerror",
46     "jsoncpp/src/lib_json",
47     "kvstore",
48     "mediasniffer",
49     "mozintl",
50     "mozprotocol",
51     "parentalcontrols",
52     "passwordmgr",
53     "pdfjs",
54     "pictureinpicture",
55     "places",
56     "processtools",
57     "processsingleton",
58     "promiseworker",
59     "prompts",
60     "protobuf",
61     "remotebrowserutils",
62     "reflect",
63     "reputationservice",
64     "resistfingerprinting",
65     "search",
66     "sessionstore",
67     "shell",
68     "shopping",
69     "startup",
70     "statusfilter",
71     "telemetry",
72     "translation",
73     "translations",
74     "thumbnails",
75     "timermanager",
76     "tooltiptext",
77     "typeaheadfind",
78     "utils",
79     "url-classifier",
80     "urlformatter",
81     "viewsource",
82     "windowcreator",
83     "windowwatcher",
84     "workerloader",
85     "xulstore",
88 if CONFIG["NS_PRINTING"]:
89     DIRS += ["printing"]
91 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
92     DIRS += [
93         "aboutconfig",
94         "narrate",
95         "reader",
96         "viaduct",
97         "uniffi-js",
98         "uniffi-bindgen-gecko-js/components",
99     ]
101 if CONFIG["BUILD_CTYPES"]:
102     DIRS += ["ctypes"]
104 DIRS += ["autocomplete", "printingui", "satchel", "captivedetect"]
106 if CONFIG["OS_TARGET"] != "Android":
107     DIRS += ["terminator"]
109 if CONFIG["MOZ_UPDATE_AGENT"]:
110     DIRS += ["taskscheduler"]
112 DIRS += ["build"]
114 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
115     DIRS += ["aboutthirdparty", "aboutwindowsmessages", "gfx"]
117 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
118     EXTRA_JS_MODULES += [
119         "DefaultCLH.sys.mjs",
120     ]
122     XPCOM_MANIFESTS += [
123         "components.conf",
124     ]
126 if CONFIG["MOZ_BUILD_APP"] == "browser":
127     DIRS += ["normandy", "messaging-system"]
129 DIRS += ["nimbus"]
131 if CONFIG["MOZ_BACKGROUNDTASKS"]:
132     DIRS += ["backgroundtasks"]
134 # This is only packaged for browser since corrupt JAR and XPI files tend to be a desktop-OS problem.
135 if CONFIG["MOZ_BUILD_APP"] == "browser":
136     DIRS += ["corroborator"]
138 if CONFIG["MOZ_UNIFFI_FIXTURES"]:
139     DIRS += ["uniffi-bindgen-gecko-js/fixtures"]
142 UNIFIED_SOURCES += [
143     "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",