mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-28 11:30:54 +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 Version %AppVersionStrFull% build successfull. Preparing..
|
||||||
echo.
|
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..
|
echo Dumping debug symbols..
|
||||||
xcopy "%ReleasePath%\%BinaryName%.exe" "%ReleasePath%\%BinaryName%.exe.exe*"
|
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"
|
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^=^
|
for /f ^"usebackq^ eol^=^
|
||||||
|
|
||||||
^ delims^=^" %%a in (%ReleasePath%\%BinaryName%.exe.sym) do (
|
^ delims^=^" %%a in (%ReleasePath%\%BinaryName%.exe.sym) do (
|
||||||
set "SymbolsHashLine=%%a"
|
set "SymbolsHashLine=%%a"
|
||||||
goto symbolslinedone
|
goto symbolslinedone
|
||||||
)
|
)
|
||||||
:symbolslinedone
|
:symbolslinedone
|
||||||
FOR /F "tokens=1,2,3,4* delims= " %%i in ("%SymbolsHashLine%") do set "SymbolsHash=%%l"
|
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%
|
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 ..\..
|
cd ..\..
|
||||||
ninja -C out/Debug common crash_generation_client exception_handler
|
ninja -C out/Debug common crash_generation_client exception_handler
|
||||||
ninja -C out/Release 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
|
git clone https://github.com/telegramdesktop/opus.git
|
||||||
cd opus
|
cd opus
|
||||||
|
Loading…
Reference in New Issue
Block a user