device_google_zuma/dumpstate/Android.bp
Adam Shih d6bd696649 make dumpLogSection compatible to new structure
Bug: 240530709
Test: adb bugreport
Change-Id: I731a7f59e327789018330c2ca7353105de1ddb8f
2023-02-21 11:07:42 +08:00

50 lines
972 B
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",
}
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",
}