summaryrefslogtreecommitdiffstats
path: root/build/sparse-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'build/sparse-profiles')
-rw-r--r--build/sparse-profiles/docker-image26
-rw-r--r--build/sparse-profiles/github-sync7
-rw-r--r--build/sparse-profiles/mach19
-rw-r--r--build/sparse-profiles/mozharness4
-rw-r--r--build/sparse-profiles/perftest8
-rw-r--r--build/sparse-profiles/profile-generate9
-rw-r--r--build/sparse-profiles/push-to-try5
-rw-r--r--build/sparse-profiles/sphinx-docs56
-rw-r--r--build/sparse-profiles/startup-test6
-rw-r--r--build/sparse-profiles/taskgraph94
-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/webrender7
16 files changed, 267 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..72f265b3a1
--- /dev/null
+++ b/build/sparse-profiles/github-sync
@@ -0,0 +1,7 @@
+%include build/sparse-profiles/mach
+%include build/sparse-profiles/taskgraph
+
+[include]
+path:gfx/wr/
+path:taskcluster/scripts/misc/
+path:tools/github-sync/
diff --git a/build/sparse-profiles/mach b/build/sparse-profiles/mach
new file mode 100644
index 0000000000..118b79ff8c
--- /dev/null
+++ b/build/sparse-profiles/mach
@@ -0,0 +1,19 @@
+[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_initialize.py
+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..abb4d922ab
--- /dev/null
+++ b/build/sparse-profiles/perftest
@@ -0,0 +1,8 @@
+%include build/sparse-profiles/docker-image
+
+[include]
+path:tools/lint/eslint/
+path:testing/performance
+path:testing/condprofile
+path:python/mozbuild/mozbuild/action/tooltool.py
+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..491d18b080
--- /dev/null
+++ b/build/sparse-profiles/sphinx-docs
@@ -0,0 +1,56 @@
+%include build/sparse-profiles/mach
+
+[include]
+# List of dependencies for the command
+path:python/sites/docs.txt
+
+# Code for generating docs.
+glob:docs/**
+glob:tools/moztreedocs/**
+
+# For icons
+glob:browser/branding/nightly/**
+
+# Potential docs sources
+glob:**/*.rst
+glob:**/*.md
+glob:**/*.mjs
+glob:**/*.js
+glob:**/*.jsm
+glob:**/*.json
+
+# 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
+glob:**/docs/**.gif
+glob:**/devtools/**.gif
+glob:**/devtools-user/**.gif
+glob:**/Debugger/**.png
+glob:**/Debugger/**.svg
+
+# Include everything found in the perfdocs generated folder
+glob:testing/perfdocs/generated/**
+
+# Python API docs.
+glob:**/*.py
+# Referenced by some python files.
+path:taskcluster/ci/docker-image/kind.yml
+
+# Included in ipc docs
+path:ipc/ipdl/test/ipdl/ok/PMyManaged.ipdl
+path:ipc/ipdl/test/ipdl/ok/PMyManager.ipdl
+path:ipc/ipdl/test/ipdl/ok/MyTypes.ipdlh
+
+# moz.build files are read to discover location of docs.
+glob:**/moz.build
+
+# package*.json files are needed for node_modules
+glob:**/package*.json
+
+# Read to set the version of the docs.
+path:config/milestone.txt
+
+# mots configuration
+path:mots.yaml
diff --git a/build/sparse-profiles/startup-test b/build/sparse-profiles/startup-test
new file mode 100644
index 0000000000..fd73995d86
--- /dev/null
+++ b/build/sparse-profiles/startup-test
@@ -0,0 +1,6 @@
+%include build/sparse-profiles/mozharness
+
+[include]
+# for fetch-content
+path:taskcluster/scripts/misc/
+
diff --git a/build/sparse-profiles/taskgraph b/build/sparse-profiles/taskgraph
new file mode 100644
index 0000000000..e2974b80e5
--- /dev/null
+++ b/build/sparse-profiles/taskgraph
@@ -0,0 +1,94 @@
+%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
+path:browser/installer/attribution.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
+glob:**/*.toml
+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 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..3ed69aa3b1
--- /dev/null
+++ b/build/sparse-profiles/webrender
@@ -0,0 +1,7 @@
+%include build/sparse-profiles/mach
+%include build/sparse-profiles/taskgraph
+
+[include]
+path:gfx/wr/
+path:taskcluster/scripts/misc/
+path:xpcom/rust/