sm-ext-accelerator-2023/breakpad.bat

35 lines
1.2 KiB
Batchfile
Raw Normal View History

2018-07-19 18:33:19 +02:00
@echo on
2016-01-14 13:43:08 +01:00
IF EXIST breakpad\NUL GOTO HASBREAKPAD
mkdir breakpad
:HASBREAKPAD
cd breakpad
IF EXIST depot_tools\NUL GOTO HASDEPOTTOOLS
git clone --depth=1 --branch=master https://chromium.googlesource.com/chromium/tools/depot_tools.git depot_tools
:HASDEPOTTOOLS
IF EXIST src\NUL GOTO HASSRC
2016-02-14 15:40:01 +01:00
cmd /c depot_tools\fetch --nohooks breakpad
2016-01-14 13:43:08 +01:00
GOTO DONESRC
:HASSRC
2016-02-14 15:40:01 +01:00
cmd /c depot_tools\gclient sync --nohooks
2016-01-14 13:43:08 +01:00
:DONESRC
IF EXIST gyp\NUL GOTO HASGYP
git clone --depth=1 --branch=master https://chromium.googlesource.com/external/gyp.git gyp
:HASGYP
2018-07-19 18:33:19 +02:00
powershell -Command "& {(Get-Content src\src\build\common.gypi).replace('''WarnAsError'': ''true'',', '''WarnAsError'': ''false'',') | Set-Content src\src\build\common.gypi}"
cmd /c gyp\gyp.bat --no-circular-check src\src\client\windows\handler\exception_handler.gyp
msbuild src\src\client\windows\handler\exception_handler.sln /m /p:Configuration=Release
2018-07-19 18:33:19 +02:00
cmd /c gyp\gyp.bat --no-circular-check src\src\client\windows\crash_generation\crash_generation.gyp
msbuild src\src\client\windows\crash_generation\crash_generation.sln /m /p:Configuration=Release
2018-07-19 18:33:19 +02:00
cmd /c gyp\gyp.bat --no-circular-check src\src\processor\processor.gyp
msbuild src\src\processor\processor.sln /m /p:Configuration=Release
2018-07-19 18:33:19 +02:00
cd ..