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", |
| 14 | ], |
| 15 | pluginFor: ["soong_build"], |
| 16 | } |
| 17 | |
ThiƩbaud Weksteen | 713db48 | 2021-02-10 14:03:27 +0100 | [diff] [blame] | 18 | python_test_host { |
| 19 | name: "bloaty_merger_test", |
| 20 | srcs: [ |
| 21 | "bloaty_merger_test.py", |
| 22 | "bloaty_merger.py", |
| 23 | "file_sections.proto", |
| 24 | ], |
| 25 | proto: { |
| 26 | canonical_path_from_root: false, |
| 27 | }, |
| 28 | libs: [ |
| 29 | "pyfakefs", |
| 30 | "ninja_rsp", |
| 31 | ], |
| 32 | } |
| 33 | |
| 34 | python_binary_host { |
| 35 | name: "bloaty_merger", |
| 36 | srcs: [ |
| 37 | "bloaty_merger.py", |
| 38 | "file_sections.proto", |
| 39 | ], |
| 40 | proto: { |
| 41 | canonical_path_from_root: false, |
| 42 | }, |
| 43 | libs: ["ninja_rsp"], |
| 44 | } |