xref: /aosp_15_r20/external/google-breakpad/src/tools/windows/refresh_binaries.bat (revision 9712c20fc9bbfbac4935993a2ca0b3958c5adad2)
1REM This batch file is meant to facilitate regenerating prebuilt binaries for
2REM the Windows tools.
3REM You MUST run it from a Visual Studio xxxx Command Prompt.  To do this,
4REM navigate to:
5REM
6REM    Start->Programs->Microsoft Visual Studio XXXX->Tools->
7REM                        Visual Studio Command Prompt
8REM
9REM Then run this batch file.  It performs an SVN update, edits the
10REM README.binaries file to contain
11REM the revision number, and builds the tools.  You must run 'svn commit' to
12REM commit the pending edits to the repository.
13
14pushd %~dp0
15if %VisualStudioVersion% == 14.0 set GYP_MSVS_VERSION=2015
16gyp tools_windows.gyp
17msbuild tools_windows.sln /p:Configuration=Release /t:Clean,Build
18copy Release\symupload.exe binaries\
19copy Release\dump_syms.exe binaries\
20git add binaries
21git commit -m "Built Windows binaries"
22echo Done!
23popd
24