aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2017-08-28 10:26:38 +0300
committerMike Frysinger <vapier@chromium.org>2017-09-24 23:23:20 +0000
commit005f41eb8ce35a5b8624e288dcb4827c5aff3d70 (patch)
treeb1e25e6fc74402422ca3dc623bbde0d4665b16a6 /src/tools
parentRestore missing #include <stdint.h> to Android <sys/user.h> (diff)
downloadbreakpad-005f41eb8ce35a5b8624e288dcb4827c5aff3d70.tar.xz
Refresh refresh_binaries.bat
Change-Id: I15687f35e560eb1e25bb4d7483c8f6fe5fdf210e Reviewed-on: https://chromium-review.googlesource.com/637391 Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/windows/refresh_binaries.bat20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/tools/windows/refresh_binaries.bat b/src/tools/windows/refresh_binaries.bat
index d881ae64..bf18d507 100644
--- a/src/tools/windows/refresh_binaries.bat
+++ b/src/tools/windows/refresh_binaries.bat
@@ -11,17 +11,13 @@ REM README.binaries file to contain
REM the revision number, and builds the tools. You must run 'svn commit' to
REM commit the pending edits to the repository.
-pushd %~dp0\..\..\
-call svn update --accept postpone
-cd tools\windows
-devenv symupload\symupload.vcproj /rebuild Release
-copy symupload\Release\symupload.exe binaries\
-REM switch back to top level so that 'svn info' displays useful information.
-cd ..\..\
-echo This checkin of the binaries was created by refresh_binaries.bat. > %TEMP%\checkin.txt
-echo Date: %DATE% %TIME% >> %TEMP%\checkin.txt
-echo Repository information (output of 'svn info') follows: >> %TEMP%\checkin.txt
-call svn info >> %TEMP%\checkin.txt
+pushd %~dp0
+if %VisualStudioVersion% == 14.0 set GYP_MSVS_VERSION=2015
+gyp tools_windows.gyp
+msbuild tools_windows.sln /p:Configuration=Release /t:Clean,Build
+copy Release\symupload.exe binaries\
+copy Release\dump_syms.exe binaries\
+git add binaries
+git commit -m "Built Windows binaries"
echo Done!
-echo type 'svn commit -F %%TEMP%%\checkin.txt' to commit.
popd