Storage: refactor dump_storage

Bug: 287884851
Test: run bugreport
Change-Id: I126f363b741616690b8e5e3b8fe522da7cd5c2ca
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2023-07-13 17:25:08 +08:00
parent 51da07a0ea
commit a5949cd099
6 changed files with 166 additions and 75 deletions

View file

@ -2,9 +2,19 @@ package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
sh_binary {
name: "dump_storage.sh",
src: "dump_storage.sh",
cc_binary {
name: "dump_storage",
srcs: ["dump_storage.cpp"],
cflags: [
"-Wall",
"-Wextra",
"-Werror",
],
shared_libs: [
"libbase",
"libdump",
"liblog",
],
vendor: true,
sub_dir: "dump",
relative_install_path: "dump",
}