mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 09:31:08 +08:00
[crashpad] fix single config builds (#42721)
This commit is contained in:
parent
9cfeb3b011
commit
78df9686ab
@ -41,7 +41,7 @@ function(replace_gn_dependency INPUT_FILE OUTPUT_FILE LIBRARY_NAMES)
|
||||
PATHS "${CURRENT_INSTALLED_DIR}/debug/lib"
|
||||
NO_DEFAULT_PATH)
|
||||
|
||||
if(_LIBRARY_DEB MATCHES "-NOTFOUND")
|
||||
if(_LIBRARY_DEB MATCHES "-NOTFOUND" AND NOT VCPKG_BUILD_TYPE)
|
||||
message(FATAL_ERROR "Could not find debug library with names: ${LIBRARY_NAMES}")
|
||||
endif()
|
||||
|
||||
@ -131,10 +131,14 @@ install_headers("${SOURCE_PATH}/util")
|
||||
install_headers("${SOURCE_PATH}/third_party/mini_chromium/mini_chromium/base")
|
||||
install_headers("${SOURCE_PATH}/third_party/mini_chromium/mini_chromium/build")
|
||||
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/gen/build/chromeos_buildflags.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}/build")
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/gen/build/chromeos_buildflags.h.flags" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}/build")
|
||||
endif()
|
||||
if(VCPKG_TARGET_IS_OSX)
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/obj/util/libmig_output.a" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
|
||||
endif()
|
||||
file(COPY "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/obj/util/libmig_output.a" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
|
||||
endif()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "crashpad",
|
||||
"version-date": "2024-04-11",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"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."
|
||||
|
@ -2046,7 +2046,7 @@
|
||||
},
|
||||
"crashpad": {
|
||||
"baseline": "2024-04-11",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"crashrpt": {
|
||||
"baseline": "1.4.3",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8d69f9f6012875359ec0ec69b8808f80a4cf944b",
|
||||
"version-date": "2024-04-11",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "3e260774308b256e5831185d41b76510c7268782",
|
||||
"version-date": "2024-04-11",
|
||||
|
Loading…
x
Reference in New Issue
Block a user