Restoring Breakpad
This commit is contained in:
parent
92bd978f11
commit
72650dcec6
5 changed files with 45 additions and 0 deletions
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
|
|
@ -81,6 +81,26 @@ jobs:
|
||||||
git clone https://github.com/telegramdesktop/gyp.git
|
git clone https://github.com/telegramdesktop/gyp.git
|
||||||
cd gyp
|
cd gyp
|
||||||
git checkout tdesktop
|
git checkout tdesktop
|
||||||
|
- name: Breakpad
|
||||||
|
run: |
|
||||||
|
%VS%
|
||||||
|
%SWITCH_PY%
|
||||||
|
cd Libraries
|
||||||
|
git clone https://github.com/google/breakpad
|
||||||
|
cd breakpad
|
||||||
|
git checkout a1dbcdcb43
|
||||||
|
dir ..\..\tdesktop\Telegram\Patches\
|
||||||
|
git apply ..\..\tdesktop\Telegram\Patches\breakpad.diff
|
||||||
|
cd src
|
||||||
|
git clone https://github.com/google/googletest testing
|
||||||
|
cd client\windows
|
||||||
|
call gyp --no-circular-check breakpad_client.gyp --format=ninja
|
||||||
|
cd ..\..
|
||||||
|
ninja -C out/Debug common crash_generation_client exception_handler
|
||||||
|
ninja -C out/Release common crash_generation_client exception_handler
|
||||||
|
cd tools\windows\dump_syms
|
||||||
|
call gyp dump_syms.gyp
|
||||||
|
msbuild dump_syms.vcxproj /property:Configuration=Release
|
||||||
- name: Opus
|
- name: Opus
|
||||||
run: |
|
run: |
|
||||||
%VS% && cd Libraries
|
%VS% && cd Libraries
|
||||||
|
|
@ -372,6 +392,24 @@ jobs:
|
||||||
cd gyp
|
cd gyp
|
||||||
git checkout 702ac58e47
|
git checkout 702ac58e47
|
||||||
git apply ../../tdesktop/Telegram/Patches/gyp.diff
|
git apply ../../tdesktop/Telegram/Patches/gyp.diff
|
||||||
|
- name: Breakpad
|
||||||
|
run: |
|
||||||
|
cd Libraries
|
||||||
|
git clone https://chromium.googlesource.com/breakpad/breakpad
|
||||||
|
cd breakpad
|
||||||
|
git checkout bc8fb886
|
||||||
|
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
|
||||||
|
cd src/third_party/lss
|
||||||
|
git checkout a91633d1
|
||||||
|
cd ../../..
|
||||||
|
./configure
|
||||||
|
make -j8
|
||||||
|
sudo make install
|
||||||
|
cd src/tools
|
||||||
|
../../../gyp/gyp --depth=. --generator-output=.. -Goutput_dir=../out tools.gyp --format=cmake
|
||||||
|
cd ../../out/Default
|
||||||
|
cmake .
|
||||||
|
make -j8 dump_syms
|
||||||
- name: Qt 5.6.2
|
- name: Qt 5.6.2
|
||||||
run: |
|
run: |
|
||||||
cd Libraries
|
cd Libraries
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@
|
||||||
'linux_path_openal%': '/usr/local',
|
'linux_path_openal%': '/usr/local',
|
||||||
'linux_path_va%': '/usr/local',
|
'linux_path_va%': '/usr/local',
|
||||||
'linux_path_vdpau%': '/usr/local',
|
'linux_path_vdpau%': '/usr/local',
|
||||||
|
'linux_path_breakpad%': '/usr/local',
|
||||||
'linux_path_opus_include%': '<(libs_loc)/opus/include',
|
'linux_path_opus_include%': '<(libs_loc)/opus/include',
|
||||||
'linux_path_range%': '/usr/local',
|
'linux_path_range%': '/usr/local',
|
||||||
},
|
},
|
||||||
|
|
@ -37,6 +38,7 @@
|
||||||
'/usr/local/include',
|
'/usr/local/include',
|
||||||
'<(linux_path_ffmpeg)/include',
|
'<(linux_path_ffmpeg)/include',
|
||||||
'<(linux_path_openal)/include',
|
'<(linux_path_openal)/include',
|
||||||
|
'<(linux_path_breakpad)/include/breakpad',
|
||||||
'<(linux_path_opus_include)',
|
'<(linux_path_opus_include)',
|
||||||
'<(linux_path_range)/include',
|
'<(linux_path_range)/include',
|
||||||
],
|
],
|
||||||
|
|
@ -46,6 +48,7 @@
|
||||||
'<(linux_path_openal)/lib',
|
'<(linux_path_openal)/lib',
|
||||||
'<(linux_path_va)/lib',
|
'<(linux_path_va)/lib',
|
||||||
'<(linux_path_vdpau)/lib',
|
'<(linux_path_vdpau)/lib',
|
||||||
|
'<(linux_path_breakpad)/lib',
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
[ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', {
|
[ '"<!(uname -m)" == "x86_64" or "<!(uname -m)" == "aarch64"', {
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'libraries': [
|
'libraries': [
|
||||||
|
'-lbreakpad_client',
|
||||||
'-lcomposeplatforminputcontextplugin',
|
'-lcomposeplatforminputcontextplugin',
|
||||||
'-libusplatforminputcontextplugin',
|
'-libusplatforminputcontextplugin',
|
||||||
'-lfcitxplatforminputcontextplugin',
|
'-lfcitxplatforminputcontextplugin',
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,7 @@
|
||||||
'include_dirs': [
|
'include_dirs': [
|
||||||
'<(src_loc)',
|
'<(src_loc)',
|
||||||
'<(SHARED_INTERMEDIATE_DIR)',
|
'<(SHARED_INTERMEDIATE_DIR)',
|
||||||
|
'<(libs_loc)/breakpad/src',
|
||||||
'<(libs_loc)/lzma/C',
|
'<(libs_loc)/lzma/C',
|
||||||
'<(libs_loc)/zlib',
|
'<(libs_loc)/zlib',
|
||||||
'<(libs_loc)/ffmpeg',
|
'<(libs_loc)/ffmpeg',
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,7 @@
|
||||||
'<(libs_loc)/opus/win32/VS2015/Win32/Debug',
|
'<(libs_loc)/opus/win32/VS2015/Win32/Debug',
|
||||||
'<(libs_loc)/openal-soft/build/Debug',
|
'<(libs_loc)/openal-soft/build/Debug',
|
||||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
||||||
|
'<(libs_loc)/breakpad/src/out/Debug/obj/client',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
'Release': {
|
'Release': {
|
||||||
|
|
@ -49,6 +50,7 @@
|
||||||
'<(libs_loc)/opus/win32/VS2015/Win32/Release',
|
'<(libs_loc)/opus/win32/VS2015/Win32/Release',
|
||||||
'<(libs_loc)/openal-soft/build/Release',
|
'<(libs_loc)/openal-soft/build/Release',
|
||||||
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
||||||
|
'<(libs_loc)/breakpad/src/out/Release/obj/client',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue