31 lines
983 B
Diff
31 lines
983 B
Diff
--- a/third_party/crashpad/crashpad/client/BUILD.gn
|
|
+++ b/third_party/crashpad/crashpad/client/BUILD.gn
|
|
@@ -81,6 +81,7 @@
|
|
deps = [
|
|
":common",
|
|
"$mini_chromium_source_parent:chromeos_buildflags",
|
|
+ "../util",
|
|
]
|
|
|
|
if (crashpad_is_win) {
|
|
--- a/third_party/crashpad/crashpad/util/linux/ptracer.cc
|
|
+++ b/third_party/crashpad/crashpad/util/linux/ptracer.cc
|
|
@@ -26,6 +26,7 @@
|
|
|
|
#if defined(ARCH_CPU_X86_FAMILY)
|
|
#include <asm/ldt.h>
|
|
+#include <asm/ptrace-abi.h>
|
|
#endif
|
|
|
|
namespace crashpad {
|
|
--- a/third_party/crashpad/crashpad/util/linux/thread_info.h
|
|
+++ b/third_party/crashpad/crashpad/util/linux/thread_info.h
|
|
@@ -273,7 +273,7 @@ union FloatContext {
|
|
"Size mismatch");
|
|
#elif defined(ARCH_CPU_ARMEL)
|
|
static_assert(sizeof(f32_t::fpregs) == sizeof(user_fpregs), "Size mismatch");
|
|
-#if !defined(__GLIBC__)
|
|
+#if defined(OS_ANDROID)
|
|
static_assert(sizeof(f32_t::vfp) == sizeof(user_vfp), "Size mismatch");
|
|
#endif
|
|
#elif defined(ARCH_CPU_ARM64)
|