blob: 3d81b83c292a9269322c9792cfe79ed57cc97e05 [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
Jaewoong Jung7b939082021-04-20 07:23:25 -0700187python_test_host {
188 name: "lint_project_xml_test",
189 main: "lint_project_xml_test.py",
190 srcs: [
191 "lint_project_xml_test.py",
192 "lint_project_xml.py",
193 ],
194 libs: ["ninja_rsp"],
195 test_suites: ["general-tests"],
196}
197
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700198python_binary_host {
Cole Faustbcc3d052022-09-01 15:20:00 -0700199 name: "gen-kotlin-build-file",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700200 main: "gen-kotlin-build-file.py",
201 srcs: [
202 "gen-kotlin-build-file.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700203 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100204 libs: ["ninja_rsp"],
Colin Cross014489c2020-06-02 20:09:13 -0700205}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900206
207python_binary_host {
208 name: "conv_linker_config",
209 srcs: [
210 "conv_linker_config.py",
211 ],
Kiyoung Kim62abd122020-10-06 17:16:44 +0900212 libs: [
213 "linker_config_proto",
214 ],
Jooyung Han4b4f03f2023-04-12 17:20:47 +0900215 visibility: ["//system/linkerconfig"],
Kiyoung Kim62abd122020-10-06 17:16:44 +0900216}
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700217
Jooyung Hanf6fd4c22023-03-09 14:50:35 +0900218python_test_host {
219 name: "conv_linker_config_test",
220 main: "conv_linker_config_test.py",
221 srcs: [
222 "conv_linker_config_test.py",
223 "conv_linker_config.py",
224 ],
225 libs: ["linker_config_proto"],
226 test_suites: ["general-tests"],
227}
228
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700229python_binary_host {
230 name: "get_clang_version",
231 main: "get_clang_version.py",
232 srcs: [
233 "get_clang_version.py",
234 ],
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700235}
Sasha Smundakfe118512022-03-30 20:33:09 -0700236
Jooyung Han7113b192022-09-20 17:00:27 +0900237python_binary_host {
238 name: "build-apex-bundle",
239 main: "build-apex-bundle.py",
240 srcs: [
241 "build-apex-bundle.py",
242 ],
243 required: [
244 "bundletool",
245 ],
246}
247
Sasha Smundakfe118512022-03-30 20:33:09 -0700248sh_binary_host {
249 name: "list_image",
250 src: "list_image.sh",
251}
Martin Geisler4e86b5e2022-05-13 16:01:35 +0200252
253filegroup {
254 name: "rustfmt.toml",
255 srcs: ["rustfmt.toml"],
256 visibility: ["//visibility:public"],
257}
Romain Jobredeaux6d8716c2023-03-14 12:41:59 -0400258
259sh_binary_host {
260 name: "jars-to-module-info-java",
261 src: "jars-to-module-info-java.sh",
262}
Andrei Onea580f7b02022-08-17 16:50:48 +0000263
264python_binary_host {
265 name: "modify_permissions_allowlist",
266 main: "modify_permissions_allowlist.py",
267 srcs: [
268 "modify_permissions_allowlist.py",
269 ],
270}
271
272python_test_host {
273 name: "modify_permissions_allowlist_test",
274 main: "modify_permissions_allowlist_test.py",
275 srcs: [
276 "modify_permissions_allowlist_test.py",
277 "modify_permissions_allowlist.py",
278 ],
279}
Jihoon Kangc32d1f52023-12-14 19:11:16 +0000280
281sh_binary_host {
282 name: "keep-flagged-apis",
283 src: "keep-flagged-apis.sh",
284}
Cole Faust4a2a7c92024-03-12 12:44:40 -0700285
286python_binary_host {
287 name: "merge_directories",
288 main: "merge_directories.py",
289 srcs: [
290 "merge_directories.py",
291 ],
Cole Faust4a2a7c92024-03-12 12:44:40 -0700292}
Inseob Kim8fa54da2024-03-19 16:48:59 +0900293
294python_binary_host {
Inseob Kim8cdaf512024-06-11 10:59:00 +0900295 name: "merge_json",
296 main: "merge_json.py",
297 srcs: [
298 "merge_json.py",
299 ],
300}
301
302python_binary_host {
Inseob Kim320628f2024-06-18 11:09:12 +0900303 name: "gen_build_prop",
304 main: "gen_build_prop.py",
305 srcs: ["gen_build_prop.py"],
306}
307
308python_binary_host {
Cole Faust99bec752024-05-09 11:07:20 -0700309 name: "extra_install_zips_file_list",
310 main: "extra_install_zips_file_list.py",
311 srcs: ["extra_install_zips_file_list.py"],
312}