Skip to content

berabuddies/ct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chromium Tintin Patch Set

This repository intentionally does not mirror Chromium source code.

Pull Chromium from the upstream Chromium repository, check out the exact base tag below, then apply the patch in this repository.

Base

  • Chromium source: https://chromium.googlesource.com/chromium/src.git
  • Base tag: 148.0.7778.96
  • Base commit: 8625e066febc721e015ea99842da12901eb7ed73
  • Patch: patches/chromium-148.0.7778.96-tintin.patch

Checkout And Patch

Install depot_tools first and put it on PATH, then:

mkdir chromium_tintin && cd chromium_tintin
gclient config https://chromium.googlesource.com/chromium/src.git
gclient sync --no-history

cd src
git fetch origin tag 148.0.7778.96
git checkout 148.0.7778.96
gclient sync -D

git apply /path/to/chromium_tintin/patches/chromium-148.0.7778.96-tintin.patch

Or run the helper from this repository:

scripts/checkout_apply_build_macos.sh /path/to/workdir
scripts/checkout_apply_build_linux.sh /path/to/workdir

macOS arm64 Release Build

The last verified local build used this out/Release/args.gn:

is_debug = false
is_component_build = false
symbol_level = 0
blink_symbol_level = 0
is_official_build = true
chrome_pgo_phase = 0
proprietary_codecs = true
ffmpeg_branding = "Chrome"
enable_nacl = false
enable_remoting = false
enable_vr = false
enable_widevine = false
enable_hangout_services_extension = false
enable_service_discovery = false
enable_reading_list = false
treat_warnings_as_errors = false
target_cpu = "arm64"
angle_enable_metal = true

Build:

gn gen out/Release --args='
is_debug = false
is_component_build = false
symbol_level = 0
blink_symbol_level = 0
is_official_build = true
chrome_pgo_phase = 0
proprietary_codecs = true
ffmpeg_branding = "Chrome"
enable_nacl = false
enable_remoting = false
enable_vr = false
enable_widevine = false
enable_hangout_services_extension = false
enable_service_discovery = false
enable_reading_list = false
treat_warnings_as_errors = false
target_cpu = "arm64"
angle_enable_metal = true
'

PATH="$PWD/third_party/depot_tools/python-bin:$PWD/third_party/depot_tools:$PATH" \
DEPOT_TOOLS_DIR="$PWD/third_party/depot_tools" \
./third_party/ninja/ninja -C out/Release chrome

The app bundle will be at:

out/Release/Chromium.app

Linux x64 Release Build

The helper does not install system packages by default. On a fresh Linux machine, either install dependencies from the Chromium checkout first:

cd /path/to/workdir/src
./build/install-build-deps.sh --no-prompt

Or let the helper run that step after checkout:

INSTALL_BUILD_DEPS=1 scripts/checkout_apply_build_linux.sh /path/to/workdir

The Linux helper uses this out/Release/args.gn:

is_debug = false
is_component_build = false
symbol_level = 0
blink_symbol_level = 0
is_official_build = true
chrome_pgo_phase = 0
proprietary_codecs = true
ffmpeg_branding = "Chrome"
enable_nacl = false
enable_remoting = false
enable_vr = false
enable_widevine = false
enable_hangout_services_extension = false
enable_service_discovery = false
enable_reading_list = false
treat_warnings_as_errors = false
target_os = "linux"
target_cpu = "x64"

Build:

scripts/checkout_apply_build_linux.sh /path/to/workdir

The Linux binary will be at:

out/Release/chrome

For a quick Linux smoke test on a machine without a display server:

xvfb-run -a out/Release/chrome --no-sandbox

When testing through Playwright, launch with executablePath pointing at out/Release/chrome and do not set timezoneId unless you intentionally want to override the browser timezone. The Tintin defaults resolve the timezone from the public IP when no profile config supplies one.

Last Local Verification

From the Chromium checkout where this patch was generated:

git diff --check
PATH="$PWD/third_party/depot_tools/python-bin:$PWD/third_party/depot_tools:$PATH" \
DEPOT_TOOLS_DIR="$PWD/third_party/depot_tools" \
./third_party/ninja/ninja -C out/Release chrome

The build completed successfully for out/Release/Chromium.app on macOS and out/Release/chrome on Linux x64.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages