diff options
author | Nelson Billing <nbilling@google.com> | 2019-06-14 15:51:23 -0700 |
---|---|---|
committer | Nelson Billing <nbilling@google.com> | 2019-06-18 21:58:05 +0000 |
commit | 92032389a6a028cbc896a8f3d4508b525e014637 (patch) | |
tree | 4fbb6b1b24046658a5cd611147649b29da3c5edf /src/tools/windows/converter_exe/binary/configure.cmd | |
parent | Mac upload_system_symbols: make dump of /Library/QuickTime optional (diff) | |
download | breakpad-92032389a6a028cbc896a8f3d4508b525e014637.tar.xz |
Move Windows Symbol Converter to breakpad
- First step, this is just enough to get it generating a msbuild
project with GYP, which in turn can build the executable.
- Tests need to be redesigned because there isn't an available server.
Change-Id: I45440fd32b3ede29666c127703bcd441f0e4288e
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1661134
Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
Diffstat (limited to 'src/tools/windows/converter_exe/binary/configure.cmd')
-rw-r--r-- | src/tools/windows/converter_exe/binary/configure.cmd | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/tools/windows/converter_exe/binary/configure.cmd b/src/tools/windows/converter_exe/binary/configure.cmd new file mode 100644 index 00000000..39b1d2a5 --- /dev/null +++ b/src/tools/windows/converter_exe/binary/configure.cmd @@ -0,0 +1,33 @@ +@if "%ECHOON%"=="" @echo off
+SETLOCAL
+
+REM ******************************************************************
+REM Please, make sure to run this in an Elevated Command Prompt.
+REM Usage:
+REM configure.cmd
+REM ******************************************************************
+
+REM ******************************************************************
+REM Initialize
+REM ******************************************************************
+SET SCRIPT_LOCATION=%~dp0
+
+REM ******************************************************************
+REM Go to script location
+REM ******************************************************************
+pushd %SCRIPT_LOCATION%
+
+REM ******************************************************************
+REM Register msdia120.dll.
+REM ******************************************************************
+SET MSG=Failed to register msdia120.dll. Make sure to run this in elevated command prompt.
+%systemroot%\SysWoW64\regsvr32.exe /s msdia120.dll & if errorlevel 1 echo %MSG% & goto :fail
+
+:success
+echo Configuration was successful.
+ENDLOCAL
+exit /b 0
+
+:fail
+ENDLOCAL
+exit /b 1
|