blob: 00b3ca59178bbd2182827288fc701242bb78770a [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
Cole Faustc41dd722021-11-09 15:08:26 -08003 default_visibility: ["//build/soong:__subpackages__"],
Bob Badour02040de2021-02-03 18:08:28 -08004}
5
Colin Cross4af387c2019-05-16 13:16:29 -07006python_binary_host {
Paul Duffin9a89a2a2020-10-28 19:20:06 +00007 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 Duffin9a89a2a2020-10-28 19:20:06 +000012}
13
14python_binary_host {
Colin Cross4af387c2019-05-16 13:16:29 -070015 name: "manifest_fixer",
16 main: "manifest_fixer.py",
17 srcs: [
18 "manifest_fixer.py",
19 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080020 libs: [
21 "manifest_utils",
22 ],
Colin Cross4af387c2019-05-16 13:16:29 -070023}
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",
Baligh Uddin3be82c02020-02-19 21:16:31 -080031 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080032 libs: [
33 "manifest_utils",
34 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +000035 test_options: {
36 unit_test: true,
37 },
Baligh Uddin3be82c02020-02-19 21:16:31 -080038}
39
40python_library_host {
41 name: "manifest_utils",
42 srcs: [
Colin Cross72119102019-05-20 13:14:18 -070043 "manifest.py",
44 ],
Cole Faustc41dd722021-11-09 15:08:26 -080045 visibility: ["//system/apex/apexer:__pkg__"],
Colin Cross72119102019-05-20 13:14:18 -070046}
47
48python_binary_host {
49 name: "manifest_check",
50 main: "manifest_check.py",
51 srcs: [
52 "manifest_check.py",
Colin Cross72119102019-05-20 13:14:18 -070053 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080054 libs: [
55 "manifest_utils",
56 ],
Colin Cross72119102019-05-20 13:14:18 -070057}
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",
Colin Cross4af387c2019-05-16 13:16:29 -070065 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080066 libs: [
67 "manifest_utils",
68 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +000069 test_options: {
70 unit_test: true,
71 },
Colin Cross4af387c2019-05-16 13:16:29 -070072}
Jooyung Han04329f12019-08-01 23:35:08 +090073
74python_binary_host {
75 name: "jsonmodify",
76 main: "jsonmodify.py",
77 srcs: [
78 "jsonmodify.py",
79 ],
Jooyung Han04329f12019-08-01 23:35:08 +090080}
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080081
Alexei Nicoara7d69b1d2022-07-11 12:38:50 +010082python_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 Junge5cd4e12019-11-22 14:34:55 -080092python_binary_host {
93 name: "test_config_fixer",
94 main: "test_config_fixer.py",
95 srcs: [
96 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080097 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080098 libs: [
99 "manifest_utils",
100 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800101}
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",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800109 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800110 libs: [
111 "manifest_utils",
112 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800113 test_suites: ["general-tests"],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800114}
Colin Cross014489c2020-06-02 20:09:13 -0700115
116python_binary_host {
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100117 name: "construct_context",
118 main: "construct_context.py",
119 srcs: [
120 "construct_context.py",
121 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100122 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 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100134 libs: [
135 "manifest_utils",
136 ],
137 test_suites: ["general-tests"],
138}
139
ThiƩbaud Weksteen713db482021-02-10 14:03:27 +0100140python_library_host {
Jiakai Zhang7d292222024-01-18 17:27:42 +0000141 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 {
ThiƩbaud Weksteen713db482021-02-10 14:03:27 +0100174 name: "ninja_rsp",
175 srcs: ["ninja_rsp.py"],
176}
177
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100178python_binary_host {
Jaewoong Jung5a420252021-04-19 17:58:22 -0700179 name: "lint_project_xml",
180 main: "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700181 srcs: [
Jaewoong Jung5a420252021-04-19 17:58:22 -0700182 "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700183 ],
ThiƩbaud Weksteen713db482021-02-10 14:03:27 +0100184 libs: ["ninja_rsp"],
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700185}
186
Colin Cross87427352024-09-25 15:41:19 -0700187python_binary_host {
188 name: "lint_strict_updatability_checks",
189 main: "lint_strict_updatability_checks.py",
Jaewoong Jung7b939082021-04-20 07:23:25 -0700190 srcs: [
Colin Cross87427352024-09-25 15:41:19 -0700191 "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",
Jaewoong Jung7b939082021-04-20 07:23:25 -0700202 ],
203 libs: ["ninja_rsp"],
204 test_suites: ["general-tests"],
205}
206
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700207python_binary_host {
Cole Faustbcc3d052022-09-01 15:20:00 -0700208 name: "gen-kotlin-build-file",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700209 main: "gen-kotlin-build-file.py",
210 srcs: [
211 "gen-kotlin-build-file.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700212 ],
ThiƩbaud Weksteen713db482021-02-10 14:03:27 +0100213 libs: ["ninja_rsp"],
Colin Cross014489c2020-06-02 20:09:13 -0700214}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900215
216python_binary_host {
217 name: "conv_linker_config",
218 srcs: [
219 "conv_linker_config.py",
220 ],
Kiyoung Kim62abd122020-10-06 17:16:44 +0900221 libs: [
222 "linker_config_proto",
223 ],
Jooyung Han4b4f03f2023-04-12 17:20:47 +0900224 visibility: ["//system/linkerconfig"],
Kiyoung Kim62abd122020-10-06 17:16:44 +0900225}
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700226
Jooyung Hanf6fd4c22023-03-09 14:50:35 +0900227python_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 Nainar2558ce32021-06-24 15:59:38 -0700238python_binary_host {
239 name: "get_clang_version",
240 main: "get_clang_version.py",
241 srcs: [
242 "get_clang_version.py",
243 ],
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700244}
Sasha Smundakfe118512022-03-30 20:33:09 -0700245
Jooyung Han7113b192022-09-20 17:00:27 +0900246python_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 Smundakfe118512022-03-30 20:33:09 -0700257sh_binary_host {
258 name: "list_image",
259 src: "list_image.sh",
260}
Martin Geisler4e86b5e2022-05-13 16:01:35 +0200261
262filegroup {
263 name: "rustfmt.toml",
264 srcs: ["rustfmt.toml"],
265 visibility: ["//visibility:public"],
266}
Romain Jobredeaux6d8716c2023-03-14 12:41:59 -0400267
268sh_binary_host {
269 name: "jars-to-module-info-java",
270 src: "jars-to-module-info-java.sh",
271}
Andrei Onea580f7b02022-08-17 16:50:48 +0000272
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}
Jihoon Kangc32d1f52023-12-14 19:11:16 +0000289
290sh_binary_host {
291 name: "keep-flagged-apis",
292 src: "keep-flagged-apis.sh",
293}
Cole Faust4a2a7c92024-03-12 12:44:40 -0700294
295python_binary_host {
296 name: "merge_directories",
297 main: "merge_directories.py",
298 srcs: [
299 "merge_directories.py",
300 ],
Cole Faust4a2a7c92024-03-12 12:44:40 -0700301}
Inseob Kim8fa54da2024-03-19 16:48:59 +0900302
303python_binary_host {
Inseob Kim58c802f2024-06-11 10:59:00 +0900304 name: "merge_json",
305 main: "merge_json.py",
306 srcs: [
307 "merge_json.py",
308 ],
309}
310
311python_binary_host {
Inseob Kim2da72af2024-06-18 11:09:12 +0900312 name: "gen_build_prop",
313 main: "gen_build_prop.py",
314 srcs: ["gen_build_prop.py"],
315}
316
317python_binary_host {
Cole Faust99bec752024-05-09 11:07:20 -0700318 name: "extra_install_zips_file_list",
319 main: "extra_install_zips_file_list.py",
320 srcs: ["extra_install_zips_file_list.py"],
321}