mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-28 03:20:57 +00:00
Force dump_syms existence in official build script.
This commit is contained in:
parent
46946c7323
commit
735faa2d11
@ -117,6 +117,11 @@ echo.
|
||||
echo Version %AppVersionStrFull% build successfull. Preparing..
|
||||
echo.
|
||||
|
||||
if not exist "%SolutionPath%\..\Libraries\breakpad\src\tools\windows\dump_syms\Release\dump_syms.exe" (
|
||||
echo Utility dump_syms not found!
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Dumping debug symbols..
|
||||
xcopy "%ReleasePath%\%BinaryName%.exe" "%ReleasePath%\%BinaryName%.exe.exe*"
|
||||
call "%SolutionPath%\..\Libraries\breakpad\src\tools\windows\dump_syms\Release\dump_syms.exe" "%ReleasePath%\%BinaryName%.exe.pdb" > "%ReleasePath%\%BinaryName%.exe.sym"
|
||||
@ -164,10 +169,10 @@ if %BuildUWP% equ 0 (
|
||||
for /f ^"usebackq^ eol^=^
|
||||
|
||||
^ delims^=^" %%a in (%ReleasePath%\%BinaryName%.exe.sym) do (
|
||||
set "SymbolsHashLine=%%a"
|
||||
goto symbolslinedone
|
||||
)
|
||||
:symbolslinedone
|
||||
set "SymbolsHashLine=%%a"
|
||||
goto symbolslinedone
|
||||
)
|
||||
:symbolslinedone
|
||||
FOR /F "tokens=1,2,3,4* delims= " %%i in ("%SymbolsHashLine%") do set "SymbolsHash=%%l"
|
||||
|
||||
echo Copying %BinaryName%.exe.sym to %DropboxSymbolsPath%\%BinaryName%.exe.pdb\%SymbolsHash%
|
||||
|
@ -104,7 +104,10 @@ Open **x86 Native Tools Command Prompt for VS 2017.bat**, go to ***BuildPath***
|
||||
cd ..\..
|
||||
ninja -C out/Debug common crash_generation_client exception_handler
|
||||
ninja -C out/Release common crash_generation_client exception_handler
|
||||
cd ..\..
|
||||
cd tools\windows\dump_syms
|
||||
gyp dump_syms.gyp
|
||||
msbuild dump_syms.vcxproj /property:Configuration=Release
|
||||
cd ..\..\..\..\..
|
||||
|
||||
git clone https://github.com/telegramdesktop/opus.git
|
||||
cd opus
|
||||
|
Loading…
Reference in New Issue
Block a user