"Fossies" - the Fresh Open Source Software Archive

Member "cutter-1.10.3/scripts/prepare_breakpad.bat" (8 May 2020, 1358 Bytes) of package /linux/privat/cutter-1.10.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "prepare_breakpad.bat": 1.10.2_vs_1.10.3.

    1 @ECHO OFF
    2 SET ROOT_DIR=%CD%
    3 
    4 powershell -Command "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; wget https://storage.googleapis.com/chrome-infra/depot_tools.zip -OutFile depot_tools.zip "
    5 7z -bd x %ROOT_DIR%\depot_tools.zip -odepot_tools
    6 powershell -Command "depot_tools\update_depot_tools"
    7 SET BUFF_PATH=%PATH%
    8 SET DEPOT_TOOLS=%ROOT_DIR%\depot_tools
    9 set PATH=%DEPOT_TOOLS%;%BUFF_PATH%
   10 
   11 mkdir %ROOT_DIR%\src\breakpad
   12 CD %ROOT_DIR%\src\breakpad
   13 powershell -Command "fetch breakpad"
   14 powershell -Command "gclient sync"
   15 CD %ROOT_DIR%\src\breakpad\src
   16 powershell -Command "git reset --hard 756daa536ad819eff80172aaab262fb71d1e89fd"
   17 
   18 CD %ROOT_DIR%\src\breakpad\src\src\client\windows
   19 DEL %CD%\breakpad_client.gyp
   20 DEL %CD%\breakpad_client.sln
   21 DEL %CD%\common.vcxproj
   22 DEL %CD%\common.vcxproj.filters
   23 DEL %CD%\build_all.vcxproj
   24 COPY %ROOT_DIR%\scripts\breakpad_client.gyp %CD%
   25 
   26 CD %ROOT_DIR%\src\breakpad\src\src
   27 SET GYP_MSVS_VERSION=2017
   28 powershell -Command "tools\gyp\gyp.bat --no-circular-check client\windows\breakpad_client.gyp -Dwin_release_RuntimeLibrary=2 -Dwin_debug_RuntimeLibrary=2  -Dplatform=%ARCH% -Dconfiguration=release"
   29 devenv client\windows\breakpad_client.sln /upgrade
   30 
   31 set PATH=%BUFF_PATH%
   32 msbuild /m %CD%\client\windows\breakpad_client.sln /p:Configuration=release /p:Platform=%ARCH% || exit /b 1
   33 CD %ROOT_DIR%