* Some (poorly written?) apps are continuously detected as Z state and killed by llkd even though they work just fine, leading to extremely bad UX and false positive bug reports. * llkd is disabled by default but enabled by llkd-debuggable.rc on ro.debuggable=1. Exclude it on userdebug builds to replicate user build behavior. Change-Id: I8365149e7896e03e58808bbead208b8d4fca6a8c
57 lines
859 B
Text
57 lines
859 B
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library_headers {
|
|
name: "llkd_headers",
|
|
|
|
export_include_dirs: ["include"],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libllkd",
|
|
|
|
srcs: [
|
|
"libllkd.cpp",
|
|
],
|
|
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
product_variables: {
|
|
debuggable: {
|
|
cppflags: ["-D__PTRACE_ENABLED__"],
|
|
},
|
|
},
|
|
}
|
|
|
|
cc_binary {
|
|
name: "llkd",
|
|
|
|
srcs: [
|
|
"llkd.cpp",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libcutils",
|
|
"liblog",
|
|
],
|
|
static_libs: [
|
|
"libllkd",
|
|
],
|
|
cflags: ["-Werror"],
|
|
|
|
init_rc: ["llkd.rc"],
|
|
product_variables: {
|
|
eng: {
|
|
init_rc: ["llkd-debuggable.rc"],
|
|
},
|
|
},
|
|
}
|