Add bloaty package

This package can be used by other binary generator to gather the section
sizes at build time. It uses bloaty_merger to export all the measured
data into a single proto file.

Bug: 172339742
Test: m out/soong/binary_sizes.pb
Change-Id: I0ca87cdb2fb8b77226e79d9dcd762abe64aeea51
This commit is contained in:
Thiébaud Weksteen
2021-02-10 14:06:12 +01:00
parent 713db480cd
commit 6d48aad0ff
2 changed files with 105 additions and 0 deletions

View File

@@ -1,3 +1,16 @@
bootstrap_go_package {
name: "soong-bloaty",
pkgPath: "android/soong/bloaty",
deps: [
"blueprint",
"soong-android",
],
srcs: [
"bloaty.go",
],
pluginFor: ["soong_build"],
}
python_test_host {
name: "bloaty_merger_test",
srcs: [