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 257sh_binary_host { 258 name: "list_image", 259 src: "list_image.sh", 260} 261 262filegroup { 263 name: "rustfmt.toml", 264 srcs: ["rustfmt.toml"], 265 visibility: ["//visibility:public"], 266} 267 268sh_binary_host { 269 name: "jars-to-module-info-java", 270 src: "jars-to-module-info-java.sh", 271} 272 273python_binary_host { 274 name: "modify_permissions_allowlist", 275 main: "modify_permissions_allowlist.py", 276 srcs: [ 277 "modify_permissions_allowlist.py", 278 ], 279} 280 281python_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} 289 290sh_binary_host { 291 name: "keep-flagged-apis", 292 src: "keep-flagged-apis.sh", 293} 294 295python_binary_host { 296 name: "merge_directories", 297 main: "merge_directories.py", 298 srcs: [ 299 "merge_directories.py", 300 ], 301} 302 303python_binary_host { 304 name: "merge_json", 305 main: "merge_json.py", 306 srcs: [ 307 "merge_json.py", 308 ], 309} 310 311python_binary_host { 312 name: "gen_build_prop", 313 main: "gen_build_prop.py", 314 srcs: ["gen_build_prop.py"], 315} 316 317python_binary_host { 318 name: "extra_install_zips_file_list", 319 main: "extra_install_zips_file_list.py", 320 srcs: ["extra_install_zips_file_list.py"], 321} 322