Skip to content

Commit

Permalink
fix: dynamic path support
Browse files Browse the repository at this point in the history
  • Loading branch information
prikolium-cfx committed Apr 23, 2024
1 parent 2e48e59 commit de3f693
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build/build.bat
Original file line number Diff line number Diff line change
@@ -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^
Expand Down

0 comments on commit de3f693

Please sign in to comment.