Skip to content

Commit

Permalink
update crashpad
Browse files Browse the repository at this point in the history
  • Loading branch information
bold84 authored and strega-nil committed Apr 22, 2022
1 parent 0d2f053 commit 787ba23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions ports/crashpad/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_git(
OUT_SOURCE_PATH SOURCE_PATH
URL https://chromium.googlesource.com/crashpad/crashpad
REF 9a31d3f8e9815774026a753a1ff6155347cd549f
REF 68aba08c48bb428b7b159b3371163f86e8d5a126
)

function(checkout_in_path PATH URL REF)
Expand All @@ -24,7 +24,7 @@ endfunction()
checkout_in_path(
"${SOURCE_PATH}/third_party/mini_chromium/mini_chromium"
"https://chromium.googlesource.com/chromium/mini_chromium"
"c426ff98e1d9e9d59777fe8b883a5c0ceeca9ca3"
"5654edb4225bcad13901155c819febb5748e502b"
)

function(replace_gn_dependency INPUT_FILE OUTPUT_FILE LIBRARY_NAMES)
Expand Down Expand Up @@ -119,6 +119,9 @@ file(REMOVE_RECURSE
configure_file("${CMAKE_CURRENT_LIST_DIR}/crashpadConfig.cmake.in"
"${CURRENT_PACKAGES_DIR}/share/${PORT}/crashpadConfig.cmake" @ONLY)

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/${PORT}/build")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/${PORT}/util/mach/__pycache__")

vcpkg_copy_pdbs()
file(INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
Expand Down
4 changes: 2 additions & 2 deletions ports/crashpad/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "crashpad",
"version-date": "2020-03-18",
"version-date": "2022-04-16",
"port-version": 2,
"description": [
"Crashpad is a crash-reporting system.",
"Crashpad is a library for capturing, storing and transmitting postmortem crash reports from a client to an upstream collection server. Crashpad aims to make it possible for clients to capture process state at the time of crash with the best possible fidelity and coverage, with the minimum of fuss."
],
"homepage": "https://chromium.googlesource.com/crashpad/crashpad/+/master/README.md",
"supports": "x64 & (osx | windows)",
"supports": "(osx | windows)",
"dependencies": [
"zlib"
]
Expand Down

0 comments on commit 787ba23

Please sign in to comment.