2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:19:09 +00:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2017-04-09 09:43:43 +00:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Toolkit", "General")
|
|
|
|
|
2013-02-25 21:19:09 +00:00
|
|
|
# These component dirs are built for all apps (including suite)
|
2019-02-06 19:09:06 +00:00
|
|
|
if CONFIG["MOZ_HAS_REMOTE"]:
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += ["remote"]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += [
|
2016-01-23 01:27:28 +00:00
|
|
|
"aboutcheckerboard",
|
2013-02-25 21:19:09 +00:00
|
|
|
"aboutmemory",
|
2016-01-28 12:41:14 +00:00
|
|
|
"aboutperformance",
|
2020-10-30 11:09:46 +00:00
|
|
|
"aboutprocesses",
|
2013-02-25 21:19:09 +00:00
|
|
|
"alerts",
|
2018-06-20 17:38:21 +00:00
|
|
|
"antitracking",
|
2013-02-25 21:19:09 +00:00
|
|
|
"apppicker",
|
2014-09-11 13:01:00 +00:00
|
|
|
"asyncshutdown",
|
2017-07-20 18:11:40 +00:00
|
|
|
"backgroundhangmonitor",
|
2019-04-15 19:44:35 +00:00
|
|
|
"bitsdownload",
|
2017-01-10 18:34:38 +00:00
|
|
|
"browser",
|
2020-04-30 10:02:25 +00:00
|
|
|
"cascade_bloom_filter",
|
2019-05-23 22:12:30 +00:00
|
|
|
"certviewer",
|
2018-06-01 12:29:55 +00:00
|
|
|
"cleardata",
|
2018-06-20 15:57:49 +00:00
|
|
|
"clearsitedata",
|
2017-07-27 17:14:17 +00:00
|
|
|
"cloudstorage",
|
2013-02-25 21:19:09 +00:00
|
|
|
"commandlines",
|
|
|
|
"contentprefs",
|
2016-07-11 18:03:00 +00:00
|
|
|
"contextualidentity",
|
2017-11-14 13:49:33 +00:00
|
|
|
"crashes",
|
2013-11-15 15:46:44 +00:00
|
|
|
"crashmonitor",
|
2018-03-06 17:40:59 +00:00
|
|
|
"downloads",
|
2018-01-22 19:01:48 +00:00
|
|
|
"enterprisepolicies",
|
2015-06-03 22:34:44 +00:00
|
|
|
"extensions",
|
2019-01-09 20:01:52 +00:00
|
|
|
"featuregates",
|
2021-04-12 17:33:16 +00:00
|
|
|
"formautofill",
|
2014-09-02 10:34:00 +00:00
|
|
|
"filewatcher",
|
2013-10-12 18:17:43 +00:00
|
|
|
"finalizationwitness",
|
2013-02-25 21:19:09 +00:00
|
|
|
"find",
|
2020-04-21 11:27:30 +00:00
|
|
|
"forgetaboutsite",
|
2018-09-18 18:05:26 +00:00
|
|
|
"fuzzyfox",
|
2020-03-12 13:56:47 +00:00
|
|
|
"glean",
|
2020-05-26 11:45:21 +00:00
|
|
|
"httpsonlyerror",
|
2017-04-19 21:41:03 +00:00
|
|
|
"jsoncpp/src/lib_json",
|
2019-02-07 16:14:04 +00:00
|
|
|
"kvstore",
|
2015-10-28 11:35:05 +00:00
|
|
|
"lz4",
|
2013-02-25 21:19:09 +00:00
|
|
|
"mediasniffer",
|
2017-10-29 16:07:19 +00:00
|
|
|
"mozintl",
|
2017-01-18 22:10:46 +00:00
|
|
|
"mozprotocol",
|
2013-02-25 21:19:09 +00:00
|
|
|
"osfile",
|
|
|
|
"parentalcontrols",
|
|
|
|
"passwordmgr",
|
2020-07-02 07:13:46 +00:00
|
|
|
"pdfjs",
|
2016-01-28 12:41:14 +00:00
|
|
|
"perfmonitoring",
|
2019-03-21 13:58:17 +00:00
|
|
|
"pictureinpicture",
|
2013-02-25 21:19:09 +00:00
|
|
|
"places",
|
2020-09-17 14:03:41 +00:00
|
|
|
"processtools",
|
2014-10-07 18:46:25 +00:00
|
|
|
"processsingleton",
|
2014-06-28 10:03:00 +00:00
|
|
|
"promiseworker",
|
2013-02-25 21:19:09 +00:00
|
|
|
"prompts",
|
|
|
|
"protobuf",
|
2016-01-12 21:44:08 +00:00
|
|
|
"remotebrowserutils",
|
2018-07-27 01:08:40 +00:00
|
|
|
"remotepagemanager",
|
2013-02-25 21:19:09 +00:00
|
|
|
"reflect",
|
2017-10-23 08:18:52 +00:00
|
|
|
"reputationservice",
|
2017-05-02 07:21:04 +00:00
|
|
|
"resistfingerprinting",
|
2019-04-24 08:52:32 +00:00
|
|
|
"search",
|
2018-04-24 19:52:46 +00:00
|
|
|
"sessionstore",
|
2019-01-25 20:03:15 +00:00
|
|
|
"shell",
|
2013-02-25 21:19:09 +00:00
|
|
|
"startup",
|
|
|
|
"statusfilter",
|
|
|
|
"telemetry",
|
|
|
|
"thumbnails",
|
2015-04-15 00:00:02 +00:00
|
|
|
"timermanager",
|
2016-04-12 20:50:47 +00:00
|
|
|
"tooltiptext",
|
2013-02-25 21:19:09 +00:00
|
|
|
"typeaheadfind",
|
2015-07-08 20:19:12 +00:00
|
|
|
"utils",
|
2016-08-31 23:28:29 +00:00
|
|
|
"url-classifier",
|
2013-02-25 21:19:09 +00:00
|
|
|
"urlformatter",
|
2018-01-13 16:46:29 +00:00
|
|
|
"viewsource",
|
2017-01-10 18:34:38 +00:00
|
|
|
"windowcreator",
|
|
|
|
"windowwatcher",
|
2013-06-10 15:01:59 +00:00
|
|
|
"workerloader",
|
2019-04-22 02:59:51 +00:00
|
|
|
"xulstore",
|
2013-02-25 21:19:09 +00:00
|
|
|
]
|
|
|
|
|
2015-06-08 07:08:29 +00:00
|
|
|
if CONFIG["MOZ_BUILD_APP"] != "mobile/android":
|
2019-11-18 16:48:36 +00:00
|
|
|
DIRS += [
|
2021-01-26 00:27:56 +00:00
|
|
|
"aboutconfig",
|
2019-11-18 16:48:36 +00:00
|
|
|
"narrate",
|
|
|
|
"reader",
|
2020-05-26 13:43:44 +00:00
|
|
|
"viaduct",
|
2019-11-18 16:48:36 +00:00
|
|
|
]
|
2015-06-08 07:08:29 +00:00
|
|
|
|
|
|
|
if CONFIG["NS_PRINTING"]:
|
|
|
|
DIRS += ["printing"]
|
|
|
|
|
2013-02-25 21:19:09 +00:00
|
|
|
if CONFIG["BUILD_CTYPES"]:
|
2014-07-28 23:57:59 +00:00
|
|
|
DIRS += ["ctypes"]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
|
|
|
if CONFIG["MOZ_XUL"]:
|
2017-01-10 18:34:38 +00:00
|
|
|
DIRS += ["autocomplete", "printingui", "satchel"]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2015-07-03 15:14:51 +00:00
|
|
|
DIRS += ["captivedetect"]
|
2013-02-25 21:19:09 +00:00
|
|
|
|
2016-07-11 13:16:56 +00:00
|
|
|
if CONFIG["OS_TARGET"] != "Android":
|
2014-11-10 12:58:14 +00:00
|
|
|
DIRS += ["terminator"]
|
|
|
|
|
2020-12-11 23:17:53 +00:00
|
|
|
if CONFIG["MOZ_UPDATE_AGENT"]:
|
|
|
|
DIRS += ["taskscheduler"]
|
|
|
|
|
2013-02-25 21:19:09 +00:00
|
|
|
DIRS += ["build"]
|
2013-06-10 15:19:28 +00:00
|
|
|
|
2017-02-15 23:13:09 +00:00
|
|
|
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
|
2021-05-28 22:35:57 +00:00
|
|
|
DIRS += ["aboutthirdparty", "gfx"]
|
2017-02-15 23:13:09 +00:00
|
|
|
|
2015-09-25 21:50:56 +00:00
|
|
|
if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
|
2019-01-30 18:26:59 +00:00
|
|
|
EXTRA_JS_MODULES += [
|
|
|
|
"DefaultCLH.jsm",
|
|
|
|
]
|
|
|
|
|
|
|
|
XPCOM_MANIFESTS += [
|
|
|
|
"components.conf",
|
2015-09-25 21:50:56 +00:00
|
|
|
]
|
2017-08-12 15:06:37 +00:00
|
|
|
|
2018-02-28 22:55:47 +00:00
|
|
|
if CONFIG["MOZ_BUILD_APP"] == "browser":
|
2021-02-20 02:51:12 +00:00
|
|
|
DIRS += ["normandy", "nimbus", "messaging-system"]
|
2019-04-20 05:10:00 +00:00
|
|
|
|
2021-01-25 23:44:39 +00:00
|
|
|
if CONFIG["MOZ_BACKGROUNDTASKS"]:
|
|
|
|
DIRS += ["backgroundtasks"]
|
|
|
|
|
2019-04-20 05:10:00 +00:00
|
|
|
# This is only packaged for browser since corrupt JAR and XPI files tend to be a desktop-OS problem.
|
|
|
|
if CONFIG["MOZ_BUILD_APP"] == "browser":
|
|
|
|
DIRS += ["corroborator"]
|