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",
36 "credentialmanagement",
42 "finalizationwitness",
47 "jsoncpp/src/lib_json",
66 "resistfingerprinting",
90 if CONFIG["NS_PRINTING"]:
93 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
100 "uniffi-bindgen-gecko-js/components",
103 if CONFIG["BUILD_CTYPES"]:
106 DIRS += ["autocomplete", "printingui", "satchel", "captivedetect"]
108 if CONFIG["OS_TARGET"] != "Android":
109 DIRS += ["terminator"]
111 if CONFIG["MOZ_UPDATE_AGENT"]:
112 DIRS += ["taskscheduler"]
116 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
117 DIRS += ["aboutthirdparty", "aboutwindowsmessages", "gfx"]
119 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
120 EXTRA_JS_MODULES += [
121 "DefaultCLH.sys.mjs",
128 if CONFIG["MOZ_WIDGET_TOOLKIT"] not in ("android", "windows"):
129 DIRS += ["aboutwebauthn"]
131 if CONFIG["MOZ_BUILD_APP"] == "browser":
132 DIRS += ["normandy", "messaging-system"]
136 if CONFIG["MOZ_BACKGROUNDTASKS"]:
137 DIRS += ["backgroundtasks"]
139 # This is only packaged for browser since corrupt JAR and XPI files tend to be a desktop-OS problem.
140 if CONFIG["MOZ_BUILD_APP"] == "browser":
141 DIRS += ["corroborator"]
143 if CONFIG["MOZ_UNIFFI_FIXTURES"]:
144 DIRS += ["uniffi-bindgen-gecko-js/fixtures"]
148 "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",