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",
25 "cascade_bloom_filter",
37 "credentialmanagement",
42 "finalizationwitness",
47 "jsoncpp/src/lib_json",
67 "resistfingerprinting",
91 if CONFIG["NS_PRINTING"]:
94 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
101 "uniffi-bindgen-gecko-js/components",
104 if CONFIG["BUILD_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"]
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",
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"]
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"]
147 "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",