diff --git a/build/build.bat b/build/build.bat index 0e571b6..97b79ac 100644 --- a/build/build.bat +++ b/build/build.bat @@ -1,10 +1,18 @@ +@echo off + set GN_DEFINES=is_chrome_branded=false symbol_level=1 is_official_build=true use_thin_lto=false proprietary_codecs=true ffmpeg_branding=Chrome enable_widevine=true set GYP_MSVS_VERSION=2022 + +set CURRENT_DIR=%~dp0 +set DOWNLOAD_DIR=%CURRENT_DIR%..\chromium_git +set DEPOT_TOOLS_DIR=%CURRENT_DIR%..\depot_tools + +:: Execute the build using dynamic paths python automate-git.py^ --url=https://github.com/citizenfx/cef.git^ --checkout=cfx-m124^ - --download-dir=e:\code2\chromium_git^ - --depot-tools-dir=e:\code2\depot_tools^ + --download-dir=%DOWNLOAD_DIR%^ + --depot-tools-dir=%DEPOT_TOOLS_DIR%^ --minimal-distrib-only^ --x64-build^ --no-cef-update^