Files
Robin Candau 00de9837a4 tools: Skip date in headers when SOURCE_DATE_EPOCH env var is set (#4152)
Recording the current date in header file comments (from the
`cef_api_untracked.json` file generated during the build) introduces
non-deterministic timestamps into build artifacts, preventing
[reproducible builds](https://reproducible-builds.org/) (see the
[diffoscope
output](https://reproducible.archlinux.org/api/v0/builds/1028387/diffoscope)).

This commit skips generating date based comments for untracked versions
if the [SOURCE_DATE_EPOCH environment
variable](https://reproducible-builds.org/docs/source-date-epoch/) is
set, allowing reproducible builds in environments that expect them.
2026-04-15 13:01:37 -04:00
..
2024-01-24 17:06:57 -05:00