mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-31 01:43:03 +08:00
b978b03fa1
- In the ProcessInfo test, port the global argc/argv getter to Linux by reading /proc/self/cmdline. - Use <inttypes.h> format macros for 64-bit types. - Only #include <sys/sysctl.h> on macOS. - #include <signal.h> instead of <sys/signal.h>. In order to test on Linux/Android, the following changes to the crashpad_util_test target must be made until more porting is complete: - Remove the dependency on crashpad_client because that library has not been ported yet. - Remove process_info_test.cc because it depends on crashpad_client and there is no implementation of ProcessInfo for Linux yet. - Remove http_transport_test.cc because there is no HTTPTransport implementation for Linux or Android yet. - Remove checked_address_range_test.cc because checked_address_range.cc does not yet expose a cross-bit usable type for addresses and sizes on Linux. BUG=crashpad:30 TEST=crashpad_util_test Change-Id: Ic17cf26bdf19b3eff3915bb1acdaa701f28222cd Reviewed-on: https://chromium-review.googlesource.com/405647 Reviewed-by: Robert Sesek <rsesek@chromium.org>