Bug 1908842: update password generator prompt text r=android-reviewers,gl
[gecko.git] / toolkit / components / moz.build
blob511c13cd9b3ab79193b420c3277e5edb2907b13e
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     "contentanalysis",
32     "contentprefs",
33     "contentrelevancy",
34     "contextualidentity",
35     "crashes",
36     "crashmonitor",
37     "credentialmanagement",
38     "downloads",
39     "enterprisepolicies",
40     "extensions",
41     "formautofill",
42     "finalizationwitness",
43     "find",
44     "forgetaboutsite",
45     "glean",
46     "httpsonlyerror",
47     "jsoncpp/src/lib_json",
48     "kvstore",
49     "mediasniffer",
50     "ml",
51     "mozintl",
52     "mozprotocol",
53     "parentalcontrols",
54     "passwordmgr",
55     "pdfjs",
56     "pictureinpicture",
57     "places",
58     "processtools",
59     "processsingleton",
60     "promiseworker",
61     "prompts",
62     "protobuf",
63     "remotebrowserutils",
64     "reflect",
65     "reputationservice",
66     "reportbrokensite",
67     "resistfingerprinting",
68     "search",
69     "sessionstore",
70     "shell",
71     "shopping",
72     "startup",
73     "statusfilter",
74     "telemetry",
75     "translation",
76     "translations",
77     "thumbnails",
78     "timermanager",
79     "tooltiptext",
80     "typeaheadfind",
81     "utils",
82     "url-classifier",
83     "urlformatter",
84     "viewsource",
85     "windowcreator",
86     "windowwatcher",
87     "workerloader",
88     "xulstore",
91 if CONFIG["NS_PRINTING"]:
92     DIRS += ["printing"]
94 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
95     DIRS += [
96         "aboutconfig",
97         "narrate",
98         "reader",
99         "viaduct",
100         "uniffi-js",
101         "uniffi-bindgen-gecko-js/components",
102     ]
104 if CONFIG["BUILD_CTYPES"]:
105     DIRS += ["ctypes"]
107 DIRS += ["autocomplete", "printingui", "satchel", "captivedetect"]
109 if CONFIG["OS_TARGET"] != "Android":
110     DIRS += ["terminator"]
112 if CONFIG["MOZ_UPDATE_AGENT"]:
113     DIRS += ["taskscheduler"]
115 DIRS += ["build"]
117 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
118     DIRS += ["aboutthirdparty", "aboutwindowsmessages", "gfx"]
120 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
121     EXTRA_JS_MODULES += [
122         "DefaultCLH.sys.mjs",
123     ]
125     XPCOM_MANIFESTS += [
126         "components.conf",
127     ]
129 if CONFIG["MOZ_WIDGET_TOOLKIT"] not in ("android", "windows"):
130     DIRS += ["aboutwebauthn"]
132 if CONFIG["MOZ_BUILD_APP"] == "browser":
133     DIRS += ["featuregates", "messaging-system", "normandy"]
135 DIRS += ["nimbus"]
137 if CONFIG["MOZ_BACKGROUNDTASKS"]:
138     DIRS += ["backgroundtasks"]
140 if CONFIG["MOZ_UNIFFI_FIXTURES"]:
141     DIRS += ["uniffi-bindgen-gecko-js/fixtures"]
143 if CONFIG["NIGHTLY_BUILD"]:
144     DIRS += ["aboutinference"]
146 UNIFIED_SOURCES += [
147     "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",