Migrate dump_power.sh contents into cpp for improved speed
Bug: 271355543 Test: adb bugreport and check dumpstate_board.txt Change-Id: Ic4e7c1a8198aedc3d2f5b3880ce60aa45843ec2d
This commit is contained in:
parent
68068a806f
commit
5aded2ebfe
4 changed files with 887 additions and 426 deletions
|
@ -9,11 +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",
|
||||
relative_install_path: "dump",
|
||||
}
|
||||
|
||||
sh_binary {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue