Migrate dump_power.sh contents into cpp for improved speed
Bug: 299133307 Test: adb bugreport and check dumpstate_board.txt Change-Id: Ied22b516844cb1d39a39fbbdee0b81a69c1d2e1c Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
This commit is contained in:
parent
81b7f5cfc6
commit
e837d5240b
4 changed files with 946 additions and 422 deletions
|
@ -9,12 +9,21 @@ sh_binary {
|
|||
sub_dir: "dump",
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
name: "dump_power.sh",
|
||||
src: "dump_power.sh",
|
||||
cc_binary {
|
||||
name: "dump_power",
|
||||
srcs: ["dump_power.cpp"],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libdump",
|
||||
"libdumpstateutil",
|
||||
],
|
||||
vendor: true,
|
||||
sub_dir: "dump",
|
||||
init_rc: ["dump_power.rc"],
|
||||
relative_install_path: "dump",
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue