1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5bootstrap_go_package {
6    name: "soong-bloaty",
7    pkgPath: "android/soong/bloaty",
8    deps: [
9        "blueprint",
10        "soong-android",
11    ],
12    srcs: [
13        "bloaty.go",
14        "testing.go",
15    ],
16    pluginFor: ["soong_build"],
17}
18
19python_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}
46