Bug 1933479 - Add tab close button on hover to vertical tabs when sidebar is collapse...
[gecko.git] / toolkit / components / moz.build
blobc64b8e41e9645fef8f25b52a93c67b5e835744ba
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     "captchadetection",
26     "cascade_bloom_filter",
27     "certviewer",
28     "cleardata",
29     "clearsitedata",
30     "cookiebanners",
31     "commandlines",
32     "contentanalysis",
33     "contentprefs",
34     "contentrelevancy",
35     "contextualidentity",
36     "crashes",
37     "crashmonitor",
38     "credentialmanagement",
39     "downloads",
40     "enterprisepolicies",
41     "extensions",
42     "formautofill",
43     "finalizationwitness",
44     "find",
45     "forgetaboutsite",
46     "glean",
47     "httpsonlyerror",
48     "jsoncpp/src/lib_json",
49     "kvstore",
50     "mediasniffer",
51     "ml",
52     "mozintl",
53     "mozprotocol",
54     "parentalcontrols",
55     "passwordmgr",
56     "pdfjs",
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         "pictureinpicture",
99         "reader",
100         "viaduct",
101         "uniffi-js",
102         "uniffi-bindgen-gecko-js/components",
103     ]
105 if CONFIG["BUILD_CTYPES"]:
106     DIRS += ["ctypes"]
108 DIRS += ["autocomplete", "printingui", "satchel", "captivedetect"]
110 if CONFIG["OS_TARGET"] != "Android":
111     DIRS += ["terminator"]
113 if CONFIG["MOZ_UPDATE_AGENT"]:
114     DIRS += ["taskscheduler"]
116 DIRS += ["build"]
118 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
119     DIRS += ["aboutthirdparty", "aboutwindowsmessages", "gfx"]
121 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
122     EXTRA_JS_MODULES += [
123         "DefaultCLH.sys.mjs",
124     ]
126     XPCOM_MANIFESTS += [
127         "components.conf",
128     ]
130 if CONFIG["MOZ_WIDGET_TOOLKIT"] not in ("android", "windows"):
131     DIRS += ["aboutwebauthn"]
133 if CONFIG["MOZ_BUILD_APP"] == "browser":
134     DIRS += ["featuregates", "messaging-system", "normandy"]
136 DIRS += ["nimbus"]
138 if CONFIG["MOZ_BACKGROUNDTASKS"]:
139     DIRS += ["backgroundtasks"]
141 if CONFIG["MOZ_UNIFFI_FIXTURES"]:
142     DIRS += ["uniffi-bindgen-gecko-js/fixtures"]
144 if CONFIG["NIGHTLY_BUILD"]:
145     DIRS += ["aboutinference"]
147 UNIFIED_SOURCES += [
148     "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",