Bob Badour | d954831 | 2021-03-28 19:37:39 -0700 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Thiébaud Weksteen | 6d48aad | 2021-02-10 14:06:12 +0100 | [diff] [blame] | 5 | bootstrap_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 Weksteen | e4dd14b | 2021-04-14 11:18:47 +0200 | [diff] [blame^] | 14 | "testing.go", |
Thiébaud Weksteen | 6d48aad | 2021-02-10 14:06:12 +0100 | [diff] [blame] | 15 | ], |
| 16 | pluginFor: ["soong_build"], |
| 17 | } |
| 18 | |
Thiébaud Weksteen | 713db48 | 2021-02-10 14:03:27 +0100 | [diff] [blame] | 19 | python_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 | |
| 35 | python_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 | } |