The build pipeline that turns upstream Chromium + Ungoogled Chromium into the TronBrowser binary. Base: Ungoogled Chromium (see ADR 0001).
chromium/
config/
version.json # pinned chromium + ungoogled versions
gn-args/ # compile-time build args (privacy + branding)
branding/ # product strings + icon assets
patches/ # TronBrowser patch series (applied after ungoogled)
scripts/ # fetch / sync / apply-patches / build / package
The scripts are guarded: they dry-run unless TB_RUN=1 is set. Source lands
outside the repo in $TB_WORKDIR (default ~/.cache/tronbrowser-chromium).
TB_RUN=1 ./scripts/fetch.sh # depot_tools + ungoogled + chromium src
TB_RUN=1 ./scripts/sync.sh # gclient hooks
TB_RUN=1 ./scripts/apply-patches.sh # ungoogled patches + TronBrowser series + branding
TB_RUN=1 ./scripts/build.sh # gn gen + autoninja
TB_RUN=1 ./scripts/package.sh # tarball / zip- Compile-time:
config/gn-args/common.gniempties Google API keys and disables reporting/RLZ/Safe-Browsing phone-home. - Patch-time:
patches/strips residual telemetry and all sponsored / affiliate surfaces. - Run-time:
../src/chromium-flags.tsadds privacy launch flags by default and refuses any sponsored/affiliate flag.
Preserved from upstream (PRD §Desktop): Chrome extensions, profiles, bookmarks, downloads, history, PWAs, DevTools.