magreenblatt wrote:What branch are you trying to build? Have you tried a clean checkout of Chromium?
If it continues to fail you can run the steps manually (get [CHROMIUM_VERSION] from CHROMIUM_BUILD_COMPATIBILITY.txt).
- Code: Select all
cd path\to\chromium\src
git checkout refs/tags/[CHROMIUM_VERSION]
gclient sync --with_branch_heads --nohooks
cd cef
tools\patch.bat
cd ..
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
gclient runhooks
cd cef
cef_create_projects.bat
I'm building branch 4240. Here is my update.bat:
- Code: Select all
set CEF_USE_GN=1
set GN_DEFINES=proprietary_codecs=true enable_hevc_demuxing=true enable_ac3_eac3_audio_demuxing=true ffmpeg_branding=Chrome is_official_build=true
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=E:\buildcef\chromium_git --depot-tools-dir=E:\buildcef\depot_tools --minimal-distrib --client-distrib --branch=4240 --no-debug-build --x64-build --force-update
I follow the manual steps, and fails with following errors:
- Code: Select all
Apply chrome_browser_background_mode_1100085.patch in E:\buildcef\chromium_git
... patch directory is not a repository root.
-------------------------------------------------------------------------------
!!!! ERROR: This patch failed to apply. Your build will not be correct.
-------------------------------------------------------------------------------
Apply base_string_piece_1049498.patch in E:\buildcef\chromium_git
... patch directory is not a repository root.
-------------------------------------------------------------------------------
!!!! ERROR: This patch failed to apply. Your build will not be correct.
-------------------------------------------------------------------------------
68 patches total (0 applied, 0 skipped, 68 failed)
-------------------------------------------------------------------------------
!!!! ERROR: 68 patches failed to apply. Your build will not be correct.