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/.
8 BUG_COMPONENT = ("Toolkit", "General")
10 # These component dirs are built for all apps (including suite)
11 if CONFIG["MOZ_HAS_REMOTE"]:
22 "backgroundhangmonitor",
26 "cascade_bloom_filter",
38 "credentialmanagement",
43 "finalizationwitness",
48 "jsoncpp/src/lib_json",
67 "resistfingerprinting",
91 if CONFIG["NS_PRINTING"]:
94 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
102 "uniffi-bindgen-gecko-js/components",
105 if CONFIG["BUILD_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"]
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",
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"]
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"]
148 "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",