9eb02c973f
This is needed to connect to the right debuggerd server for the crashing process. Without this change, the following errors are observed, because a 32-bit process is trying to connect to the 64-bit debuggerd (as opposed to debuggerd32): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 14153 (static_crasher) debuggerd: handling request: pid=14153 uid=0 gid=0 tid=14153 debuggerd: Not allowed to redirect action 0 to 32 bit debuggerd Bug: 24414818 Change-Id: I2f275fbc804b0abc6e876a743e51dd8494817103
25 lines
519 B
Text
25 lines
519 B
Text
cc_library_static {
|
|
name: "libdebuggerd_client",
|
|
srcs: ["client/debuggerd_client.cpp"],
|
|
|
|
cflags: [
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
"-Os",
|
|
],
|
|
|
|
target: {
|
|
android64: {
|
|
cflags: ["-DTARGET_IS_64_BIT"],
|
|
},
|
|
},
|
|
|
|
local_include_dirs: ["include"],
|
|
export_include_dirs: ["include"],
|
|
|
|
// libdebuggerd_client gets async signal safe logging via libc_logging,
|
|
// which defines its interface in bionic private headers.
|
|
include_dirs: ["bionic/libc"],
|
|
static_libs: ["libc_logging"],
|
|
}
|