Skip to content

Commit

Permalink
[crashpad] fix mac build (microsoft#43516)
Browse files Browse the repository at this point in the history
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
  • Loading branch information
autoantwort and BillyONeal authored Feb 11, 2025
1 parent 7839a20 commit 5c41ff2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ports/crashpad/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ vcpkg_from_git(
)

vcpkg_find_acquire_program(PYTHON3)
x_vcpkg_get_python_packages(OUT_PYTHON_VAR PYTHON3
PYTHON_EXECUTABLE "${PYTHON3}"
PYTHON_VERSION "3"
PACKAGES setuptools
)
vcpkg_replace_string("${SOURCE_PATH}/.gn" "script_executable = \"python3\"" "script_executable = \"${PYTHON3}\"")

# mini_chromium contains the toolchains and build configuration
Expand Down
3 changes: 2 additions & 1 deletion ports/crashpad/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "crashpad",
"version-date": "2024-04-11",
"port-version": 6,
"port-version": 7,
"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."
Expand All @@ -19,6 +19,7 @@
"name": "vcpkg-cmake-get-vars",
"host": true
},
"vcpkg-get-python-packages",
{
"name": "vcpkg-gn",
"host": true
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2034,7 +2034,7 @@
},
"crashpad": {
"baseline": "2024-04-11",
"port-version": 6
"port-version": 7
},
"crashrpt": {
"baseline": "1.4.3",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/crashpad.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "dc8e0803320706e4f2b4a4fce0f457424c6c914d",
"version-date": "2024-04-11",
"port-version": 7
},
{
"git-tree": "f4a723194e550246d2a2b2717d0d7d1135e09fb0",
"version-date": "2024-04-11",
Expand Down

0 comments on commit 5c41ff2

Please sign in to comment.