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",
35 "credentialmanagement",
41 "finalizationwitness",
46 "jsoncpp/src/lib_json",
64 "resistfingerprinting",
88 if CONFIG["NS_PRINTING"]:
91 if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
98 "uniffi-bindgen-gecko-js/components",
101 if CONFIG["BUILD_CTYPES"]:
104 DIRS += ["autocomplete", "printingui", "satchel", "captivedetect"]
106 if CONFIG["OS_TARGET"] != "Android":
107 DIRS += ["terminator"]
109 if CONFIG["MOZ_UPDATE_AGENT"]:
110 DIRS += ["taskscheduler"]
114 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
115 DIRS += ["aboutthirdparty", "aboutwindowsmessages", "gfx"]
117 if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
118 EXTRA_JS_MODULES += [
119 "DefaultCLH.sys.mjs",
126 if CONFIG["MOZ_BUILD_APP"] == "browser":
127 DIRS += ["normandy", "messaging-system"]
131 if CONFIG["MOZ_BACKGROUNDTASKS"]:
132 DIRS += ["backgroundtasks"]
134 # This is only packaged for browser since corrupt JAR and XPI files tend to be a desktop-OS problem.
135 if CONFIG["MOZ_BUILD_APP"] == "browser":
136 DIRS += ["corroborator"]
138 if CONFIG["MOZ_UNIFFI_FIXTURES"]:
139 DIRS += ["uniffi-bindgen-gecko-js/fixtures"]
143 "/toolkit/components/antitracking/ContentBlockingAllowList.cpp",