summaryrefslogtreecommitdiffstats
path: root/build/sparse-profiles
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /build/sparse-profiles
parentInitial commit. (diff)
downloadfirefox-2aa4a82499d4becd2284cdb482213d541b8804dd.tar.xz
firefox-2aa4a82499d4becd2284cdb482213d541b8804dd.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/sparse-profiles')
-rw-r--r--build/sparse-profiles/docker-image26
-rw-r--r--build/sparse-profiles/github-sync8
-rw-r--r--build/sparse-profiles/liblowercase3
-rw-r--r--build/sparse-profiles/mach23
-rw-r--r--build/sparse-profiles/mozharness4
-rw-r--r--build/sparse-profiles/perftest7
-rw-r--r--build/sparse-profiles/profile-generate9
-rw-r--r--build/sparse-profiles/push-to-try5
-rw-r--r--build/sparse-profiles/sphinx-docs39
-rw-r--r--build/sparse-profiles/taskgraph95
-rw-r--r--build/sparse-profiles/toolchain-build9
-rw-r--r--build/sparse-profiles/tps5
-rw-r--r--build/sparse-profiles/update-verify4
-rw-r--r--build/sparse-profiles/upload-generated-sources4
-rw-r--r--build/sparse-profiles/upload-symbols4
-rw-r--r--build/sparse-profiles/webrender6
-rw-r--r--build/sparse-profiles/wgpu4
17 files changed, 255 insertions, 0 deletions
diff --git a/build/sparse-profiles/docker-image b/build/sparse-profiles/docker-image
new file mode 100644
index 0000000000..9fb1329530
--- /dev/null
+++ b/build/sparse-profiles/docker-image
@@ -0,0 +1,26 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:taskcluster/
+
+# Required for loading taskgraph.parameters.
+path:browser/config/version_display.txt
+path:browser/config/version.txt
+
+# Result from `grep -hr %include taskcluster/docker | grep -v " taskcluster/" | sort -u`
+path:python/mozbuild/mozbuild/action/tooltool.py
+path:testing/mozharness/external_tools/performance-artifact-schema.json
+path:testing/mozharness/external_tools/robustcheckout.py
+path:tools/lint/spell/codespell_requirements.txt
+path:tools/lint/eslint/eslint-plugin-mozilla/manifest.tt
+path:tools/lint/eslint/manifest.tt
+path:tools/lint/python/flake8_requirements.txt
+path:tools/lint/python/pylint_requirements.txt
+path:tools/lint/python/black_requirements.txt
+path:tools/lint/tox/tox_requirements.txt
+
+# Required for the webrender docker image
+path:gfx/wr/ci-scripts/docker-image/setup.sh
+
+# for the system-symbol images
+path:tools/crashreporter/system-symbols/
diff --git a/build/sparse-profiles/github-sync b/build/sparse-profiles/github-sync
new file mode 100644
index 0000000000..8d6922aba6
--- /dev/null
+++ b/build/sparse-profiles/github-sync
@@ -0,0 +1,8 @@
+%include build/sparse-profiles/mach
+%include build/sparse-profiles/taskgraph
+
+[include]
+path:gfx/wgpu/
+path:gfx/wr/
+path:taskcluster/scripts/misc/
+path:tools/github-sync/
diff --git a/build/sparse-profiles/liblowercase b/build/sparse-profiles/liblowercase
new file mode 100644
index 0000000000..5f9c2d088b
--- /dev/null
+++ b/build/sparse-profiles/liblowercase
@@ -0,0 +1,3 @@
+[include]
+path:build/liblowercase/
+path:taskcluster/scripts/misc/build-liblowercase.sh
diff --git a/build/sparse-profiles/mach b/build/sparse-profiles/mach
new file mode 100644
index 0000000000..28b4a8b2d0
--- /dev/null
+++ b/build/sparse-profiles/mach
@@ -0,0 +1,23 @@
+[include]
+# Various mach commands call config.guess to resolve the default objdir name.
+path:build/autoconf/config.guess
+path:build/autoconf/config.sub
+path:build/moz.configure/checks.configure
+path:build/moz.configure/init.configure
+path:build/moz.configure/util.configure
+# Used for bootstrapping the mach driver.
+path:build/mach_bootstrap.py
+path:build/build_virtualenv_packages.txt
+path:build/common_virtualenv_packages.txt
+path:build/mach_virtualenv_packages.txt
+path:build/glean_requirements.txt
+path:build/psutil_requirements.txt
+path:build/zstandard_requirements.txt
+path:mach
+# Various dependencies. There is room to trim fat, especially in
+# third_party/python.
+path:python/
+path:testing/mozbase/
+path:third_party/python/
+# certifi is needed for Sentry
+path:testing/web-platform/tests/tools/third_party/certifi
diff --git a/build/sparse-profiles/mozharness b/build/sparse-profiles/mozharness
new file mode 100644
index 0000000000..c2a49d412b
--- /dev/null
+++ b/build/sparse-profiles/mozharness
@@ -0,0 +1,4 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:testing/mozharness
diff --git a/build/sparse-profiles/perftest b/build/sparse-profiles/perftest
new file mode 100644
index 0000000000..a2d891c38e
--- /dev/null
+++ b/build/sparse-profiles/perftest
@@ -0,0 +1,7 @@
+%include build/sparse-profiles/docker-image
+
+[include]
+path:tools/lint/eslint/
+path:testing/performance
+path:testing/condprofile
+glob:**/perftest_*.js
diff --git a/build/sparse-profiles/profile-generate b/build/sparse-profiles/profile-generate
new file mode 100644
index 0000000000..be1fa53372
--- /dev/null
+++ b/build/sparse-profiles/profile-generate
@@ -0,0 +1,9 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:build/
+path:testing/talos/talos
+path:testing/profiles/
+path:third_party/webkit/
+path:tools/quitter/
+path:taskcluster/scripts/misc
diff --git a/build/sparse-profiles/push-to-try b/build/sparse-profiles/push-to-try
new file mode 100644
index 0000000000..ff8fd73579
--- /dev/null
+++ b/build/sparse-profiles/push-to-try
@@ -0,0 +1,5 @@
+%include build/sparse-profiles/taskgraph
+
+[include]
+path:tools/tryselect/
+path:try_task_config.json
diff --git a/build/sparse-profiles/sphinx-docs b/build/sparse-profiles/sphinx-docs
new file mode 100644
index 0000000000..d12c001629
--- /dev/null
+++ b/build/sparse-profiles/sphinx-docs
@@ -0,0 +1,39 @@
+%include build/sparse-profiles/mach
+
+[include]
+# Code for generating docs.
+glob:docs/**
+glob:tools/moztreedocs/**
+
+# For icons
+glob:browser/branding/nightly/**
+
+# Potential docs sources
+glob:**/*.rst
+glob:**/*.md
+glob:**/*.js
+glob:**/*.jsm
+
+# Potential included images. We don't glob all paths in order to avoid importing
+# images unrelated to documentation (like branding or test images)
+glob:**/docs/**.jpg
+glob:**/docs/**.png
+glob:**/docs/**.svg
+
+# Python API docs.
+glob:**/*.py
+
+# moz.build files are read to discover location of docs.
+glob:**/moz.build
+
+# Read to set the version of the docs.
+path:config/milestone.txt
+
+# metrics.yaml and pings.yaml files (and their index) are needed to generate
+# Glean autodocs
+glob:**/metrics.yaml
+glob:**/pings.yaml
+path:toolkit/components/glean/metrics_index.py
+# TODO(bug 1672716): Make it easier to use other file names
+path:toolkit/components/glean/test_metrics.yaml
+path:toolkit/components/glean/test_pings.yaml
diff --git a/build/sparse-profiles/taskgraph b/build/sparse-profiles/taskgraph
new file mode 100644
index 0000000000..8165614688
--- /dev/null
+++ b/build/sparse-profiles/taskgraph
@@ -0,0 +1,95 @@
+%include build/sparse-profiles/mach
+
+# In order to decide which docker images to build, we need all the
+# files that docker images depend on as well
+%include build/sparse-profiles/docker-image
+
+[include]
+# These files are read as part of generating the taskgraph.
+path:browser/locales/l10n-changesets.json
+path:browser/locales/l10n-onchange-changesets.json
+path:mobile/locales/l10n-changesets.json
+path:mobile/locales/l10n-onchange-changesets.json
+path:browser/locales/shipped-locales
+path:browser/config/version_display.txt
+path:browser/config/version.txt
+path:browser/config/whats_new_page.yml
+
+# Lots of random files in here are read. Just pull in the whole thing.
+path:build/
+
+# TODO remove once bug 1402010 is resolved and test manifests aren't
+# processed in Files() reading mode in moz.build files.
+path:layout/tools/reftest/
+path:testing/web-platform/tests/tools/
+
+# The main meat of this profile.
+path:taskcluster/
+
+# Various files in these directories are read by taskgraph. Just pull
+# them all in.
+path:testing/config/tooltool-manifests/
+path:testing/mozharness/
+path:tools/lint/
+
+# for new-style try pushes
+path:try_task_config.json
+
+# Moz.build files are read in filesystem mode
+glob:**/moz.build
+glob:**/*.mozbuild
+
+# Moz.configure files could trigger changes
+glob:**/*.configure
+
+# Tooltool manifests also need to be opened. Assume they
+# are all somewhere in "tooltool-manifests" directories.
+glob:**/tooltool-manifests/**
+
+# For test chunking
+glob:**/*.ini
+glob:**/*.list
+path:testing/mozbase/manifestparser
+path:testing/runtimes
+path:testing/web-platform/tests/
+path:testing/web-platform/mozilla/tests/
+glob:testing/web-platform/*.py
+
+# For scheduling android-gradle-dependencies.
+path:mobile/android/config/
+glob:**/*.gradle
+
+# for action-task building
+path:.taskcluster.yml
+path:.cron.yml
+
+# for the wrench-deps toolchain task
+path:gfx/wr/Cargo.lock
+path:gfx/wr/ci-scripts/
+
+# for the wgpu-deps toolchain task
+path:gfx/wgpu/Cargo.lock
+
+# for the mar-tools toolchain task
+path:mfbt/
+path:modules/libmar/
+path:other-licenses/bsdiff/
+path:other-licenses/nsis/Contrib/CityHash/cityhash/
+path:toolkit/mozapps/update/updater
+
+# for the minidump_stackwalk toolchain task
+path:toolkit/crashreporter
+path:tools/crashreporter/
+path:mfbt
+path:config/external/zlib
+path:build/moz.configure
+
+# for the browsertime toolchain task
+path:tools/browsertime/mach_commands.py
+path:tools/browsertime/package.json
+path:tools/browsertime/package-lock.json
+
+# for the geckodriver toolchain task
+path:testing/geckodriver
+path:testing/mozbase/rust
+path:testing/webdriver
diff --git a/build/sparse-profiles/toolchain-build b/build/sparse-profiles/toolchain-build
new file mode 100644
index 0000000000..fe542dd219
--- /dev/null
+++ b/build/sparse-profiles/toolchain-build
@@ -0,0 +1,9 @@
+# Profile needed to build toolchain tasks.
+
+# This is probably a little wider than we need it to be. But it is
+# still relatively small and it keeps this profile simple.
+%include build/sparse-profiles/taskgraph
+
+[include]
+# Needed by build-clang.py.
+path:tools/rewriting/ \ No newline at end of file
diff --git a/build/sparse-profiles/tps b/build/sparse-profiles/tps
new file mode 100644
index 0000000000..fe9b238f90
--- /dev/null
+++ b/build/sparse-profiles/tps
@@ -0,0 +1,5 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:services/sync/tps/
+path:testing/tps/
diff --git a/build/sparse-profiles/update-verify b/build/sparse-profiles/update-verify
new file mode 100644
index 0000000000..83589d1f3b
--- /dev/null
+++ b/build/sparse-profiles/update-verify
@@ -0,0 +1,4 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:tools/update-verify/
diff --git a/build/sparse-profiles/upload-generated-sources b/build/sparse-profiles/upload-generated-sources
new file mode 100644
index 0000000000..3e39d32b66
--- /dev/null
+++ b/build/sparse-profiles/upload-generated-sources
@@ -0,0 +1,4 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:build/upload_generated_sources.py
diff --git a/build/sparse-profiles/upload-symbols b/build/sparse-profiles/upload-symbols
new file mode 100644
index 0000000000..1b46f04f99
--- /dev/null
+++ b/build/sparse-profiles/upload-symbols
@@ -0,0 +1,4 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:toolkit/crashreporter/tools/upload_symbols.py
diff --git a/build/sparse-profiles/webrender b/build/sparse-profiles/webrender
new file mode 100644
index 0000000000..049e0c5568
--- /dev/null
+++ b/build/sparse-profiles/webrender
@@ -0,0 +1,6 @@
+%include build/sparse-profiles/mach
+%include build/sparse-profiles/taskgraph
+
+[include]
+path:gfx/wr/
+path:taskcluster/scripts/misc/
diff --git a/build/sparse-profiles/wgpu b/build/sparse-profiles/wgpu
new file mode 100644
index 0000000000..856905cff1
--- /dev/null
+++ b/build/sparse-profiles/wgpu
@@ -0,0 +1,4 @@
+%include build/sparse-profiles/mach
+
+[include]
+path:gfx/wgpu/