blob: 7e722a757cfd04ffbf8d9205565dd13e672971df [file] [log] [blame]
Bob Badourd9548312021-03-28 19:37:39 -07001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Thiébaud Weksteen6d48aad2021-02-10 14:06:12 +01005bootstrap_go_package {
6 name: "soong-bloaty",
7 pkgPath: "android/soong/bloaty",
8 deps: [
9 "blueprint",
10 "soong-android",
11 ],
12 srcs: [
13 "bloaty.go",
Thiébaud Weksteene4dd14b2021-04-14 11:18:47 +020014 "testing.go",
Thiébaud Weksteen6d48aad2021-02-10 14:06:12 +010015 ],
16 pluginFor: ["soong_build"],
17}
18
Thiébaud Weksteen713db482021-02-10 14:03:27 +010019python_test_host {
20 name: "bloaty_merger_test",
21 srcs: [
22 "bloaty_merger_test.py",
23 "bloaty_merger.py",
24 "file_sections.proto",
25 ],
26 proto: {
27 canonical_path_from_root: false,
28 },
29 libs: [
30 "pyfakefs",
31 "ninja_rsp",
32 ],
33}
34
35python_binary_host {
36 name: "bloaty_merger",
37 srcs: [
38 "bloaty_merger.py",
39 "file_sections.proto",
40 ],
41 proto: {
42 canonical_path_from_root: false,
43 },
44 libs: ["ninja_rsp"],
45}