mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 19:20:25 +08:00
170e44d327
* [breakpad] add support for Android triplets This changes vcpkg's custom CMakeLists.txt file for Breakpad so that it correctly builds libbreakpad_client for Android. It follows the same source file layout for Android as seen in the ./android/google_breakpad/Android.mk make file. * [breakpad] update control file * [breakpad] update versions * [breakpad] fix for unordered_map in MSVC++ STL and libstdc++ * [breakpad] update versions * [breakpad] fix to install libbreakpad on non-Android platforms * [breakpad] update versions * [breakpad] Read sources list from Android.mk Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
41 lines
1.2 KiB
CMake
41 lines
1.2 KiB
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO google/breakpad
|
|
REF 9c4671f2e3a63c0f155d9b2511192d0b5fa7f760 # accessed on 2020-09-14
|
|
SHA512 4c9ed9b675a772f9a6a84692865381130901820cb395b725511e7a9e2cbf4aaa5212a9ef5f87086baf58bb9d729082232b564bd827a205f87b5c1ffc1c53892a
|
|
HEAD_REF master
|
|
PATCHES
|
|
fix-unique_ptr.patch
|
|
fix-unordered_map.patch
|
|
)
|
|
|
|
if(VCPKG_HOST_IS_LINUX OR VCPKG_TARGET_IS_LINUX OR VCPKG_TARGET_IS_ANDROID)
|
|
vcpkg_from_git(
|
|
OUT_SOURCE_PATH LSS_SOURCE_PATH
|
|
URL https://chromium.googlesource.com/linux-syscall-support
|
|
REF 7bde79cc274d06451bf65ae82c012a5d3e476b5a
|
|
)
|
|
|
|
file(RENAME ${LSS_SOURCE_PATH} ${SOURCE_PATH}/src/third_party/lss)
|
|
endif()
|
|
|
|
file(
|
|
COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt ${CMAKE_CURRENT_LIST_DIR}/check_getcontext.cc
|
|
DESTINATION ${SOURCE_PATH}
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/unofficial-breakpad TARGET_PATH share/unofficial-breakpad)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|