2021-03-29 04:37:39 +02:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
|
|
}
|
|
|
|
|
2021-02-10 14:06:12 +01:00
|
|
|
bootstrap_go_package {
|
|
|
|
name: "soong-bloaty",
|
|
|
|
pkgPath: "android/soong/bloaty",
|
|
|
|
deps: [
|
|
|
|
"blueprint",
|
|
|
|
"soong-android",
|
|
|
|
],
|
|
|
|
srcs: [
|
|
|
|
"bloaty.go",
|
2021-04-14 11:18:47 +02:00
|
|
|
"testing.go",
|
2021-02-10 14:06:12 +01:00
|
|
|
],
|
|
|
|
pluginFor: ["soong_build"],
|
|
|
|
}
|
|
|
|
|
2021-02-10 14:03:27 +01:00
|
|
|
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"],
|
|
|
|
}
|