| Bob Badour | 02040de | 2021-02-03 18:08:28 -0800 | [diff] [blame] | 1 | package { | 
 | 2 |     default_applicable_licenses: ["Android-Apache-2.0"], | 
| Cole Faust | c41dd72 | 2021-11-09 15:08:26 -0800 | [diff] [blame] | 3 |     default_visibility: ["//build/soong:__subpackages__"], | 
| Bob Badour | 02040de | 2021-02-03 18:08:28 -0800 | [diff] [blame] | 4 | } | 
 | 5 |  | 
| Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 6 | python_binary_host { | 
| Paul Duffin | 9a89a2a | 2020-10-28 19:20:06 +0000 | [diff] [blame] | 7 |     name: "check_boot_jars", | 
 | 8 |     main: "check_boot_jars/check_boot_jars.py", | 
 | 9 |     srcs: [ | 
 | 10 |         "check_boot_jars/check_boot_jars.py", | 
 | 11 |     ], | 
| Paul Duffin | 9a89a2a | 2020-10-28 19:20:06 +0000 | [diff] [blame] | 12 | } | 
 | 13 |  | 
 | 14 | python_binary_host { | 
| Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 15 |     name: "manifest_fixer", | 
 | 16 |     main: "manifest_fixer.py", | 
 | 17 |     srcs: [ | 
 | 18 |         "manifest_fixer.py", | 
 | 19 |     ], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 20 |     libs: [ | 
 | 21 |         "manifest_utils", | 
 | 22 |     ], | 
| Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 23 | } | 
 | 24 |  | 
 | 25 | python_test_host { | 
 | 26 |     name: "manifest_fixer_test", | 
 | 27 |     main: "manifest_fixer_test.py", | 
 | 28 |     srcs: [ | 
 | 29 |         "manifest_fixer_test.py", | 
 | 30 |         "manifest_fixer.py", | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 31 |     ], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 32 |     libs: [ | 
 | 33 |         "manifest_utils", | 
 | 34 |     ], | 
| Julien Desprez | 2dc86b2 | 2021-03-19 17:16:09 +0000 | [diff] [blame] | 35 |     test_options: { | 
 | 36 |         unit_test: true, | 
 | 37 |     }, | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 38 | } | 
 | 39 |  | 
 | 40 | python_library_host { | 
 | 41 |     name: "manifest_utils", | 
 | 42 |     srcs: [ | 
| Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 43 |         "manifest.py", | 
 | 44 |     ], | 
| Cole Faust | c41dd72 | 2021-11-09 15:08:26 -0800 | [diff] [blame] | 45 |     visibility: ["//system/apex/apexer:__pkg__"], | 
| Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 46 | } | 
 | 47 |  | 
 | 48 | python_binary_host { | 
 | 49 |     name: "manifest_check", | 
 | 50 |     main: "manifest_check.py", | 
 | 51 |     srcs: [ | 
 | 52 |         "manifest_check.py", | 
| Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 53 |     ], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 54 |     libs: [ | 
 | 55 |         "manifest_utils", | 
 | 56 |     ], | 
| Colin Cross | 7211910 | 2019-05-20 13:14:18 -0700 | [diff] [blame] | 57 | } | 
 | 58 |  | 
 | 59 | python_test_host { | 
 | 60 |     name: "manifest_check_test", | 
 | 61 |     main: "manifest_check_test.py", | 
 | 62 |     srcs: [ | 
 | 63 |         "manifest_check_test.py", | 
 | 64 |         "manifest_check.py", | 
| Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 65 |     ], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 66 |     libs: [ | 
 | 67 |         "manifest_utils", | 
 | 68 |     ], | 
| Julien Desprez | 2dc86b2 | 2021-03-19 17:16:09 +0000 | [diff] [blame] | 69 |     test_options: { | 
 | 70 |         unit_test: true, | 
 | 71 |     }, | 
| Colin Cross | 4af387c | 2019-05-16 13:16:29 -0700 | [diff] [blame] | 72 | } | 
| Jooyung Han | 04329f1 | 2019-08-01 23:35:08 +0900 | [diff] [blame] | 73 |  | 
 | 74 | python_binary_host { | 
 | 75 |     name: "jsonmodify", | 
 | 76 |     main: "jsonmodify.py", | 
 | 77 |     srcs: [ | 
 | 78 |         "jsonmodify.py", | 
 | 79 |     ], | 
| Jooyung Han | 04329f1 | 2019-08-01 23:35:08 +0900 | [diff] [blame] | 80 | } | 
| Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 81 |  | 
| Alexei Nicoara | 7d69b1d | 2022-07-11 12:38:50 +0100 | [diff] [blame] | 82 | python_test_host { | 
 | 83 |     name: "jsonmodify_test", | 
 | 84 |     main: "jsonmodify_test.py", | 
 | 85 |     srcs: [ | 
 | 86 |         "jsonmodify_test.py", | 
 | 87 |         "jsonmodify.py", | 
 | 88 |     ], | 
 | 89 |     test_suites: ["general-tests"], | 
 | 90 | } | 
 | 91 |  | 
| Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 92 | python_binary_host { | 
 | 93 |     name: "test_config_fixer", | 
 | 94 |     main: "test_config_fixer.py", | 
 | 95 |     srcs: [ | 
 | 96 |         "test_config_fixer.py", | 
| Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 97 |     ], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 98 |     libs: [ | 
 | 99 |         "manifest_utils", | 
 | 100 |     ], | 
| Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 101 | } | 
 | 102 |  | 
 | 103 | python_test_host { | 
 | 104 |     name: "test_config_fixer_test", | 
 | 105 |     main: "test_config_fixer_test.py", | 
 | 106 |     srcs: [ | 
 | 107 |         "test_config_fixer_test.py", | 
 | 108 |         "test_config_fixer.py", | 
| Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 109 |     ], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 110 |     libs: [ | 
 | 111 |         "manifest_utils", | 
 | 112 |     ], | 
| Jaewoong Jung | e5cd4e1 | 2019-11-22 14:34:55 -0800 | [diff] [blame] | 113 |     test_suites: ["general-tests"], | 
| Baligh Uddin | 3be82c0 | 2020-02-19 21:16:31 -0800 | [diff] [blame] | 114 | } | 
| Colin Cross | 014489c | 2020-06-02 20:09:13 -0700 | [diff] [blame] | 115 |  | 
 | 116 | python_binary_host { | 
| Ulya Trafimovich | 5f364b6 | 2020-06-30 12:39:01 +0100 | [diff] [blame] | 117 |     name: "construct_context", | 
 | 118 |     main: "construct_context.py", | 
 | 119 |     srcs: [ | 
 | 120 |         "construct_context.py", | 
 | 121 |     ], | 
| Ulya Trafimovich | 5f364b6 | 2020-06-30 12:39:01 +0100 | [diff] [blame] | 122 |     libs: [ | 
 | 123 |         "manifest_utils", | 
 | 124 |     ], | 
 | 125 | } | 
 | 126 |  | 
 | 127 | python_test_host { | 
 | 128 |     name: "construct_context_test", | 
 | 129 |     main: "construct_context_test.py", | 
 | 130 |     srcs: [ | 
 | 131 |         "construct_context_test.py", | 
 | 132 |         "construct_context.py", | 
 | 133 |     ], | 
| Ulya Trafimovich | 5f364b6 | 2020-06-30 12:39:01 +0100 | [diff] [blame] | 134 |     libs: [ | 
 | 135 |         "manifest_utils", | 
 | 136 |     ], | 
 | 137 |     test_suites: ["general-tests"], | 
 | 138 | } | 
 | 139 |  | 
| ThiƩbaud Weksteen | 713db48 | 2021-02-10 14:03:27 +0100 | [diff] [blame] | 140 | python_library_host { | 
| Jiakai Zhang | 7d29222 | 2024-01-18 17:27:42 +0000 | [diff] [blame] | 141 |     name: "uffd_gc_utils", | 
 | 142 |     srcs: [ | 
 | 143 |         "uffd_gc_utils.py", | 
 | 144 |     ], | 
 | 145 |     visibility: [ | 
 | 146 |         "//build/make/tools:__subpackages__", | 
 | 147 |     ], | 
 | 148 | } | 
 | 149 |  | 
 | 150 | python_test_host { | 
 | 151 |     name: "uffd_gc_utils_test", | 
 | 152 |     main: "uffd_gc_utils_test.py", | 
 | 153 |     srcs: [ | 
 | 154 |         "uffd_gc_utils_test.py", | 
 | 155 |     ], | 
 | 156 |     libs: [ | 
 | 157 |         "uffd_gc_utils", | 
 | 158 |     ], | 
 | 159 |     test_suites: ["general-tests"], | 
 | 160 | } | 
 | 161 |  | 
 | 162 | python_binary_host { | 
 | 163 |     name: "construct_uffd_gc_flag", | 
 | 164 |     main: "construct_uffd_gc_flag.py", | 
 | 165 |     srcs: [ | 
 | 166 |         "construct_uffd_gc_flag.py", | 
 | 167 |     ], | 
 | 168 |     libs: [ | 
 | 169 |         "uffd_gc_utils", | 
 | 170 |     ], | 
 | 171 | } | 
 | 172 |  | 
 | 173 | python_library_host { | 
| ThiƩbaud Weksteen | 713db48 | 2021-02-10 14:03:27 +0100 | [diff] [blame] | 174 |     name: "ninja_rsp", | 
 | 175 |     srcs: ["ninja_rsp.py"], | 
 | 176 | } | 
 | 177 |  | 
| Ulya Trafimovich | 5f364b6 | 2020-06-30 12:39:01 +0100 | [diff] [blame] | 178 | python_binary_host { | 
| Jaewoong Jung | 5a42025 | 2021-04-19 17:58:22 -0700 | [diff] [blame] | 179 |     name: "lint_project_xml", | 
 | 180 |     main: "lint_project_xml.py", | 
| Colin Cross | 9b1aa0c | 2020-06-25 17:12:28 -0700 | [diff] [blame] | 181 |     srcs: [ | 
| Jaewoong Jung | 5a42025 | 2021-04-19 17:58:22 -0700 | [diff] [blame] | 182 |         "lint_project_xml.py", | 
| Colin Cross | 9b1aa0c | 2020-06-25 17:12:28 -0700 | [diff] [blame] | 183 |     ], | 
| ThiƩbaud Weksteen | 713db48 | 2021-02-10 14:03:27 +0100 | [diff] [blame] | 184 |     libs: ["ninja_rsp"], | 
| Colin Cross | 9b1aa0c | 2020-06-25 17:12:28 -0700 | [diff] [blame] | 185 | } | 
 | 186 |  | 
| Colin Cross | 8742735 | 2024-09-25 15:41:19 -0700 | [diff] [blame] | 187 | python_binary_host { | 
 | 188 |     name: "lint_strict_updatability_checks", | 
 | 189 |     main: "lint_strict_updatability_checks.py", | 
| Jaewoong Jung | 7b93908 | 2021-04-20 07:23:25 -0700 | [diff] [blame] | 190 |     srcs: [ | 
| Colin Cross | 8742735 | 2024-09-25 15:41:19 -0700 | [diff] [blame] | 191 |         "lint_strict_updatability_checks.py", | 
 | 192 |     ], | 
 | 193 |     libs: ["ninja_rsp"], | 
 | 194 | } | 
 | 195 |  | 
 | 196 | python_test_host { | 
 | 197 |     name: "lint_strict_updatability_checks_test", | 
 | 198 |     main: "lint_strict_updatability_checks_test.py", | 
 | 199 |     srcs: [ | 
 | 200 |         "lint_strict_updatability_checks_test.py", | 
 | 201 |         "lint_strict_updatability_checks.py", | 
| Jaewoong Jung | 7b93908 | 2021-04-20 07:23:25 -0700 | [diff] [blame] | 202 |     ], | 
 | 203 |     libs: ["ninja_rsp"], | 
 | 204 |     test_suites: ["general-tests"], | 
 | 205 | } | 
 | 206 |  | 
| Colin Cross | 9b1aa0c | 2020-06-25 17:12:28 -0700 | [diff] [blame] | 207 | python_binary_host { | 
| Cole Faust | bcc3d05 | 2022-09-01 15:20:00 -0700 | [diff] [blame] | 208 |     name: "gen-kotlin-build-file", | 
| Colin Cross | 9b1aa0c | 2020-06-25 17:12:28 -0700 | [diff] [blame] | 209 |     main: "gen-kotlin-build-file.py", | 
 | 210 |     srcs: [ | 
 | 211 |         "gen-kotlin-build-file.py", | 
| Colin Cross | 9b1aa0c | 2020-06-25 17:12:28 -0700 | [diff] [blame] | 212 |     ], | 
| ThiƩbaud Weksteen | 713db48 | 2021-02-10 14:03:27 +0100 | [diff] [blame] | 213 |     libs: ["ninja_rsp"], | 
| Colin Cross | 014489c | 2020-06-02 20:09:13 -0700 | [diff] [blame] | 214 | } | 
| Kiyoung Kim | 62abd12 | 2020-10-06 17:16:44 +0900 | [diff] [blame] | 215 |  | 
 | 216 | python_binary_host { | 
 | 217 |     name: "conv_linker_config", | 
 | 218 |     srcs: [ | 
 | 219 |         "conv_linker_config.py", | 
 | 220 |     ], | 
| Kiyoung Kim | 62abd12 | 2020-10-06 17:16:44 +0900 | [diff] [blame] | 221 |     libs: [ | 
 | 222 |         "linker_config_proto", | 
 | 223 |     ], | 
| Jooyung Han | 4b4f03f | 2023-04-12 17:20:47 +0900 | [diff] [blame] | 224 |     visibility: ["//system/linkerconfig"], | 
| Kiyoung Kim | 62abd12 | 2020-10-06 17:16:44 +0900 | [diff] [blame] | 225 | } | 
| Pirama Arumuga Nainar | 2558ce3 | 2021-06-24 15:59:38 -0700 | [diff] [blame] | 226 |  | 
| Jooyung Han | f6fd4c2 | 2023-03-09 14:50:35 +0900 | [diff] [blame] | 227 | python_test_host { | 
 | 228 |     name: "conv_linker_config_test", | 
 | 229 |     main: "conv_linker_config_test.py", | 
 | 230 |     srcs: [ | 
 | 231 |         "conv_linker_config_test.py", | 
 | 232 |         "conv_linker_config.py", | 
 | 233 |     ], | 
 | 234 |     libs: ["linker_config_proto"], | 
 | 235 |     test_suites: ["general-tests"], | 
 | 236 | } | 
 | 237 |  | 
| Pirama Arumuga Nainar | 2558ce3 | 2021-06-24 15:59:38 -0700 | [diff] [blame] | 238 | python_binary_host { | 
 | 239 |     name: "get_clang_version", | 
 | 240 |     main: "get_clang_version.py", | 
 | 241 |     srcs: [ | 
 | 242 |         "get_clang_version.py", | 
 | 243 |     ], | 
| Pirama Arumuga Nainar | 2558ce3 | 2021-06-24 15:59:38 -0700 | [diff] [blame] | 244 | } | 
| Sasha Smundak | fe11851 | 2022-03-30 20:33:09 -0700 | [diff] [blame] | 245 |  | 
| Jooyung Han | 7113b19 | 2022-09-20 17:00:27 +0900 | [diff] [blame] | 246 | python_binary_host { | 
 | 247 |     name: "build-apex-bundle", | 
 | 248 |     main: "build-apex-bundle.py", | 
 | 249 |     srcs: [ | 
 | 250 |         "build-apex-bundle.py", | 
 | 251 |     ], | 
 | 252 |     required: [ | 
 | 253 |         "bundletool", | 
 | 254 |     ], | 
 | 255 | } | 
 | 256 |  | 
| Sasha Smundak | fe11851 | 2022-03-30 20:33:09 -0700 | [diff] [blame] | 257 | sh_binary_host { | 
 | 258 |     name: "list_image", | 
 | 259 |     src: "list_image.sh", | 
 | 260 | } | 
| Martin Geisler | 4e86b5e | 2022-05-13 16:01:35 +0200 | [diff] [blame] | 261 |  | 
 | 262 | filegroup { | 
 | 263 |     name: "rustfmt.toml", | 
 | 264 |     srcs: ["rustfmt.toml"], | 
 | 265 |     visibility: ["//visibility:public"], | 
 | 266 | } | 
| Romain Jobredeaux | 6d8716c | 2023-03-14 12:41:59 -0400 | [diff] [blame] | 267 |  | 
 | 268 | sh_binary_host { | 
 | 269 |     name: "jars-to-module-info-java", | 
 | 270 |     src: "jars-to-module-info-java.sh", | 
 | 271 | } | 
| Andrei Onea | 580f7b0 | 2022-08-17 16:50:48 +0000 | [diff] [blame] | 272 |  | 
 | 273 | python_binary_host { | 
 | 274 |     name: "modify_permissions_allowlist", | 
 | 275 |     main: "modify_permissions_allowlist.py", | 
 | 276 |     srcs: [ | 
 | 277 |         "modify_permissions_allowlist.py", | 
 | 278 |     ], | 
 | 279 | } | 
 | 280 |  | 
 | 281 | python_test_host { | 
 | 282 |     name: "modify_permissions_allowlist_test", | 
 | 283 |     main: "modify_permissions_allowlist_test.py", | 
 | 284 |     srcs: [ | 
 | 285 |         "modify_permissions_allowlist_test.py", | 
 | 286 |         "modify_permissions_allowlist.py", | 
 | 287 |     ], | 
 | 288 | } | 
| Jihoon Kang | c32d1f5 | 2023-12-14 19:11:16 +0000 | [diff] [blame] | 289 |  | 
 | 290 | sh_binary_host { | 
 | 291 |     name: "keep-flagged-apis", | 
 | 292 |     src: "keep-flagged-apis.sh", | 
 | 293 | } | 
| Cole Faust | 4a2a7c9 | 2024-03-12 12:44:40 -0700 | [diff] [blame] | 294 |  | 
 | 295 | python_binary_host { | 
 | 296 |     name: "merge_directories", | 
 | 297 |     main: "merge_directories.py", | 
 | 298 |     srcs: [ | 
 | 299 |         "merge_directories.py", | 
 | 300 |     ], | 
| Cole Faust | 4a2a7c9 | 2024-03-12 12:44:40 -0700 | [diff] [blame] | 301 | } | 
| Inseob Kim | 8fa54da | 2024-03-19 16:48:59 +0900 | [diff] [blame] | 302 |  | 
 | 303 | python_binary_host { | 
| Inseob Kim | 58c802f | 2024-06-11 10:59:00 +0900 | [diff] [blame] | 304 |     name: "merge_json", | 
 | 305 |     main: "merge_json.py", | 
 | 306 |     srcs: [ | 
 | 307 |         "merge_json.py", | 
 | 308 |     ], | 
 | 309 | } | 
 | 310 |  | 
 | 311 | python_binary_host { | 
| Inseob Kim | 2da72af | 2024-06-18 11:09:12 +0900 | [diff] [blame] | 312 |     name: "gen_build_prop", | 
 | 313 |     main: "gen_build_prop.py", | 
 | 314 |     srcs: ["gen_build_prop.py"], | 
 | 315 | } | 
 | 316 |  | 
 | 317 | python_binary_host { | 
| Cole Faust | 99bec75 | 2024-05-09 11:07:20 -0700 | [diff] [blame] | 318 |     name: "extra_install_zips_file_list", | 
 | 319 |     main: "extra_install_zips_file_list.py", | 
 | 320 |     srcs: ["extra_install_zips_file_list.py"], | 
 | 321 | } |