1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3 default_visibility: ["//build/soong:__subpackages__"], 4} 5 6python_binary_host { 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 ], 12} 13 14python_binary_host { 15 name: "manifest_fixer", 16 main: "manifest_fixer.py", 17 srcs: [ 18 "manifest_fixer.py", 19 ], 20 libs: [ 21 "manifest_utils", 22 ], 23} 24 25python_test_host { 26 name: "manifest_fixer_test", 27 main: "manifest_fixer_test.py", 28 srcs: [ 29 "manifest_fixer_test.py", 30 "manifest_fixer.py", 31 ], 32 libs: [ 33 "manifest_utils", 34 ], 35 test_options: { 36 unit_test: true, 37 }, 38} 39 40python_library_host { 41 name: "manifest_utils", 42 srcs: [ 43 "manifest.py", 44 ], 45 visibility: ["//system/apex/apexer:__pkg__"], 46} 47 48python_binary_host { 49 name: "manifest_check", 50 main: "manifest_check.py", 51 srcs: [ 52 "manifest_check.py", 53 ], 54 libs: [ 55 "manifest_utils", 56 ], 57} 58 59python_test_host { 60 name: "manifest_check_test", 61 main: "manifest_check_test.py", 62 srcs: [ 63 "manifest_check_test.py", 64 "manifest_check.py", 65 ], 66 libs: [ 67 "manifest_utils", 68 ], 69 test_options: { 70 unit_test: true, 71 }, 72} 73 74python_binary_host { 75 name: "jsonmodify", 76 main: "jsonmodify.py", 77 srcs: [ 78 "jsonmodify.py", 79 ], 80} 81 82python_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 92python_binary_host { 93 name: "test_config_fixer", 94 main: "test_config_fixer.py", 95 srcs: [ 96 "test_config_fixer.py", 97 ], 98 libs: [ 99 "manifest_utils", 100 ], 101} 102 103python_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", 109 ], 110 libs: [ 111 "manifest_utils", 112 ], 113 test_suites: ["general-tests"], 114} 115 116python_binary_host { 117 name: "construct_context", 118 main: "construct_context.py", 119 srcs: [ 120 "construct_context.py", 121 ], 122 libs: [ 123 "manifest_utils", 124 ], 125} 126 127python_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 ], 134 libs: [ 135 "manifest_utils", 136 ], 137 test_suites: ["general-tests"], 138} 139 140python_library_host { 141 name: "uffd_gc_utils", 142 srcs: [ 143 "uffd_gc_utils.py", 144 ], 145 visibility: [ 146 "//build/make/tools:__subpackages__", 147 ], 148} 149 150python_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 162python_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 173python_library_host { 174 name: "ninja_rsp", 175 srcs: ["ninja_rsp.py"], 176} 177 178python_binary_host { 179 name: "lint_project_xml", 180 main: "lint_project_xml.py", 181 srcs: [ 182 "lint_project_xml.py", 183 ], 184 libs: ["ninja_rsp"], 185} 186 187python_binary_host { 188 name: "lint_strict_updatability_checks", 189 main: "lint_strict_updatability_checks.py", 190 srcs: [ 191 "lint_strict_updatability_checks.py", 192 ], 193 libs: ["ninja_rsp"], 194} 195 196python_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", 202 ], 203 libs: ["ninja_rsp"], 204 test_suites: ["general-tests"], 205} 206 207python_binary_host { 208 name: "gen-kotlin-build-file", 209 main: "gen-kotlin-build-file.py", 210 srcs: [ 211 "gen-kotlin-build-file.py", 212 ], 213 libs: ["ninja_rsp"], 214} 215 216python_binary_host { 217 name: "conv_linker_config", 218 srcs: [ 219 "conv_linker_config.py", 220 ], 221 libs: [ 222 "linker_config_proto", 223 ], 224 visibility: ["//system/linkerconfig"], 225} 226 227python_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 238python_binary_host { 239 name: "get_clang_version", 240 main: "get_clang_version.py", 241 srcs: [ 242 "get_clang_version.py", 243 ], 244} 245 246python_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 257filegroup { 258 name: "rustfmt.toml", 259 srcs: ["rustfmt.toml"], 260 visibility: ["//visibility:public"], 261} 262 263sh_binary_host { 264 name: "jars-to-module-info-java", 265 src: "jars-to-module-info-java.sh", 266} 267 268python_binary_host { 269 name: "modify_permissions_allowlist", 270 main: "modify_permissions_allowlist.py", 271 srcs: [ 272 "modify_permissions_allowlist.py", 273 ], 274} 275 276python_test_host { 277 name: "modify_permissions_allowlist_test", 278 main: "modify_permissions_allowlist_test.py", 279 srcs: [ 280 "modify_permissions_allowlist_test.py", 281 "modify_permissions_allowlist.py", 282 ], 283} 284 285python_binary_host { 286 name: "aconfig-to-metalava-flags", 287 main: "aconfig-to-metalava-flags.py", 288 srcs: ["aconfig-to-metalava-flags.py"], 289 libs: [ 290 "libaconfig_python_proto", 291 ], 292} 293 294python_binary_host { 295 name: "merge_json", 296 main: "merge_json.py", 297 srcs: [ 298 "merge_json.py", 299 ], 300} 301 302python_binary_host { 303 name: "gen_build_prop", 304 main: "gen_build_prop.py", 305 srcs: ["gen_build_prop.py"], 306} 307 308python_binary_host { 309 name: "extra_install_zips_file_list", 310 main: "extra_install_zips_file_list.py", 311 srcs: ["extra_install_zips_file_list.py"], 312} 313 314python_binary_host { 315 name: "rustc_linker", 316 main: "rustc_linker.py", 317 srcs: [ 318 "rustc_linker.py", 319 ], 320} 321