Overview
Thedeps.ini file defines additional resources that are downloaded after cloning the Chromium source code. This includes search engine data, the onboarding page, and bundled extensions like uBlock Origin.
File Format
The file uses INI format with sections for each dependency:# and are ignored during parsing.
Common Fields
Every dependency section typically includes:Download URL for the resource. Supports variable substitution using
%(variable_name)s syntax.Filename to use when saving the downloaded file locally.
SHA-256 hash for integrity verification. The build will fail if the downloaded file doesn’t match this hash.
Relative path (from source root) where the downloaded resource should be extracted or placed.
Version identifier for the resource. Can be referenced in
url and download_filename using %(version)s.Directory name to strip from the archive. Useful when archives contain a single top-level directory you want to remove.
Dependencies
Search Engines Data
This data is considered “nonfree” because some search engine logos may have licensing restrictions.
Onboarding Page
YYYYMMDDHHSS (timestamp)
Properties:
- Built from separate repository:
imputnet/helium-onboarding - Includes welcome screens, privacy explanations, and initial setup
- Extracted to Chromium components directory
uBlock Origin
- Custom fork maintained at:
imputnet/uBlock - Installed as a component extension (built-in, not from Web Store)
- Version format:
MAJOR.MINOR.PATCH-REVISION - Archive contains a top-level
uBlock0.chromiumdirectory that gets stripped
- Update the
versionfield - Download the new release and compute SHA-256
- Update the
sha256field - Run
devutils/clear-ublock-assets.jsto strip assets - Test the build
Variable Substitution
You can use variables inurl and download_filename fields:
- URL:
https://example.com/package-1.2.3.tar.gz - Filename:
package-1.2.3.tar.gz
Adding New Dependencies
Security Considerations
- Use HTTPS URLs whenever possible
- Pin specific versions rather than using “latest” tags
- Prefer releases from trusted sources (GitHub releases, official CDNs)
- Document the purpose and origin of each dependency
Related Configuration
- downloads.ini - Main Chromium source download
- flags.gn - Build configuration flags
- patches/series - Patches applied to source