Add support for reading the GSA logs sysfs file to see the GSA logs in the bugreports we get from dogfooders. Bug: 271125313 Test: adb shell dumpstate Change-Id: I09a2e039451b5eb8b7fa360ba03486bd871fb970
57 lines
1 KiB
Text
57 lines
1 KiB
Text
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
sh_binary {
|
|
name: "dump_wlan.sh",
|
|
src: "dump_wlan.sh",
|
|
vendor: true,
|
|
sub_dir: "dump",
|
|
}
|
|
|
|
sh_binary {
|
|
name: "dump_power.sh",
|
|
src: "dump_power.sh",
|
|
vendor: true,
|
|
sub_dir: "dump",
|
|
}
|
|
|
|
sh_binary {
|
|
name: "dump_cma.sh",
|
|
src: "dump_cma.sh",
|
|
vendor: true,
|
|
sub_dir: "dump",
|
|
}
|
|
|
|
sh_binary {
|
|
name: "dump_gsa.sh",
|
|
src: "dump_gsa.sh",
|
|
vendor: true,
|
|
sub_dir: "dump",
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.dumpstate-service.zuma",
|
|
srcs: [
|
|
"Dumpstate.cpp",
|
|
"service.cpp",
|
|
],
|
|
init_rc: ["android.hardware.dumpstate-service.zuma.rc"],
|
|
vintf_fragments: ["android.hardware.dumpstate-service.zuma.xml"],
|
|
cflags: [
|
|
"-Wall",
|
|
"-Werror",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"libcutils",
|
|
"libdumpstateutil",
|
|
"liblog",
|
|
"libutils",
|
|
"libdump",
|
|
"android.hardware.dumpstate-V1-ndk",
|
|
],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
}
|