Files
IronFox/scripts/glean-patches.yaml
celenity ceeae87d00 feat: Patch formatting
Applies consistent formatting and naming to patches

Signed-off-by: celenity <celenity@celenity.dev>
2026-07-06 00:50:48 +00:00

47 lines
2.3 KiB
YAML

categories:
- name: "Build System"
excerpt: "Modifications to improve and stabilize the build process."
description: >
Patches in this category focus on altering the build system by removing unnecessary dependencies,
fixing build issues, or optimizing the build flow to ensure successful compilation and better reproducibility.
- name: "Mozilla"
excerpt: "Changes that remove and/or replace undesired Mozilla functionality."
description: >
These patches disable, remove, or replace unwanted Mozilla-related functionality from the browser. This includes
advertising, data collection, promotions, and other services not required for critical functionality.
patches:
# Build System
- file: "glean-localize-maven.patch"
name: "Glean - Localize Maven"
description: "Replaces Mozilla Maven repositories with local maven repositories."
reason: "Reduces dependency on Mozilla infrastructure and improves build reproducibility."
effect: "Provides more control over build dependencies with fewer connections to Mozilla servers."
category: "Build System"
- file: "glean-gradle-project-resolution.patch"
name: "Glean - Gradle project resolution"
description: |
Prevents building and configuring unnecessary/unwanted example/sample libraries, and ensures that only necessary projects are configured
at build-time.
reason: "Allows for faster builds, with less overhead."
effect: "Reduces build-time, and reduces the complexity of the overall build process."
category: "Build System"
- file: "glean-unbreak-geckoview-lite.patch"
name: "Glean - Unbreak GeckoView Lite"
description: "Adds support for builds with GeckoView Lite."
reason: "Allows for building GeckoView without Glean and unnecessary dependencies."
effect: "Unbreaks the build process when building GeckoView without Glean."
category: "Build System"
# Mozilla
- file: "glean-noop.patch"
name: "Glean - No-op"
description: "No-ops the Glean SDK."
reason: |
To prevent any usage data, diagnostics, or technical metrics from being sent to Mozilla, to reduce attack surface, and to reduce unwanted dependencies.
effect: "Prevents unwanted collection and transmission of telemetry data."
category: "Mozilla"