Add bloaty_merger

This script will be used to merge the csv outputs from bloaty into a
single proto file.

Bug: 172339795
Test: atest --host bloaty_merger_test
Change-Id: I9a3c12d7b0c4b5e347fec04e6758bcc1fbc8ab40
This commit is contained in:
Thiébaud Weksteen
2021-02-10 14:03:27 +01:00
parent 71c139dced
commit 713db480cd
5 changed files with 217 additions and 2 deletions

27
bloaty/Android.bp Normal file
View File

@@ -0,0 +1,27 @@
python_test_host {
name: "bloaty_merger_test",
srcs: [
"bloaty_merger_test.py",
"bloaty_merger.py",
"file_sections.proto",
],
proto: {
canonical_path_from_root: false,
},
libs: [
"pyfakefs",
"ninja_rsp",
],
}
python_binary_host {
name: "bloaty_merger",
srcs: [
"bloaty_merger.py",
"file_sections.proto",
],
proto: {
canonical_path_from_root: false,
},
libs: ["ninja_rsp"],
}