blob: 7baaadb77de05b1cf1caeb43e4597d1d2188ff31 [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 ],
32 version: {
Baligh Uddin3be82c02020-02-19 21:16:31 -080033 py3: {
Cole Faustc41dd722021-11-09 15:08:26 -080034 embedded_launcher: true,
Baligh Uddin3be82c02020-02-19 21:16:31 -080035 },
36 },
37 libs: [
38 "manifest_utils",
39 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +000040 test_options: {
41 unit_test: true,
42 },
Baligh Uddin3be82c02020-02-19 21:16:31 -080043}
44
45python_library_host {
46 name: "manifest_utils",
47 srcs: [
Colin Cross72119102019-05-20 13:14:18 -070048 "manifest.py",
49 ],
Cole Faustc41dd722021-11-09 15:08:26 -080050 visibility: ["//system/apex/apexer:__pkg__"],
Colin Cross72119102019-05-20 13:14:18 -070051}
52
53python_binary_host {
54 name: "manifest_check",
55 main: "manifest_check.py",
56 srcs: [
57 "manifest_check.py",
Colin Cross72119102019-05-20 13:14:18 -070058 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080059 libs: [
60 "manifest_utils",
61 ],
Colin Cross72119102019-05-20 13:14:18 -070062}
63
64python_test_host {
65 name: "manifest_check_test",
66 main: "manifest_check_test.py",
67 srcs: [
68 "manifest_check_test.py",
69 "manifest_check.py",
Colin Cross4af387c2019-05-16 13:16:29 -070070 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080071 libs: [
72 "manifest_utils",
73 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +000074 test_options: {
75 unit_test: true,
76 },
Colin Cross4af387c2019-05-16 13:16:29 -070077}
Jooyung Han04329f12019-08-01 23:35:08 +090078
79python_binary_host {
80 name: "jsonmodify",
81 main: "jsonmodify.py",
82 srcs: [
83 "jsonmodify.py",
84 ],
Jooyung Han04329f12019-08-01 23:35:08 +090085}
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080086
Alexei Nicoara7d69b1d2022-07-11 12:38:50 +010087python_test_host {
88 name: "jsonmodify_test",
89 main: "jsonmodify_test.py",
90 srcs: [
91 "jsonmodify_test.py",
92 "jsonmodify.py",
93 ],
94 test_suites: ["general-tests"],
95}
96
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080097python_binary_host {
98 name: "test_config_fixer",
99 main: "test_config_fixer.py",
100 srcs: [
101 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800102 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800103 libs: [
104 "manifest_utils",
105 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800106}
107
108python_test_host {
109 name: "test_config_fixer_test",
110 main: "test_config_fixer_test.py",
111 srcs: [
112 "test_config_fixer_test.py",
113 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800114 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800115 libs: [
116 "manifest_utils",
117 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800118 test_suites: ["general-tests"],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800119}
Colin Cross014489c2020-06-02 20:09:13 -0700120
121python_binary_host {
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100122 name: "construct_context",
123 main: "construct_context.py",
124 srcs: [
125 "construct_context.py",
126 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100127 libs: [
128 "manifest_utils",
129 ],
130}
131
132python_test_host {
133 name: "construct_context_test",
134 main: "construct_context_test.py",
135 srcs: [
136 "construct_context_test.py",
137 "construct_context.py",
138 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100139 libs: [
140 "manifest_utils",
141 ],
142 test_suites: ["general-tests"],
143}
144
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100145python_library_host {
146 name: "ninja_rsp",
147 srcs: ["ninja_rsp.py"],
148}
149
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100150python_binary_host {
Jaewoong Jung5a420252021-04-19 17:58:22 -0700151 name: "lint_project_xml",
152 main: "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700153 srcs: [
Jaewoong Jung5a420252021-04-19 17:58:22 -0700154 "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700155 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100156 libs: ["ninja_rsp"],
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700157}
158
Jaewoong Jung7b939082021-04-20 07:23:25 -0700159python_test_host {
160 name: "lint_project_xml_test",
161 main: "lint_project_xml_test.py",
162 srcs: [
163 "lint_project_xml_test.py",
164 "lint_project_xml.py",
165 ],
166 libs: ["ninja_rsp"],
167 test_suites: ["general-tests"],
168}
169
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700170python_binary_host {
Cole Faustbcc3d052022-09-01 15:20:00 -0700171 name: "gen-kotlin-build-file",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700172 main: "gen-kotlin-build-file.py",
173 srcs: [
174 "gen-kotlin-build-file.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700175 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100176 libs: ["ninja_rsp"],
Colin Cross014489c2020-06-02 20:09:13 -0700177}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900178
179python_binary_host {
180 name: "conv_linker_config",
181 srcs: [
182 "conv_linker_config.py",
183 ],
184 version: {
Kiyoung Kim62abd122020-10-06 17:16:44 +0900185 py3: {
Kiyoung Kim62abd122020-10-06 17:16:44 +0900186 embedded_launcher: true,
187 },
188 },
189 libs: [
190 "linker_config_proto",
191 ],
Jooyung Han4b4f03f2023-04-12 17:20:47 +0900192 visibility: ["//system/linkerconfig"],
Kiyoung Kim62abd122020-10-06 17:16:44 +0900193}
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700194
Jooyung Hanf6fd4c22023-03-09 14:50:35 +0900195python_test_host {
196 name: "conv_linker_config_test",
197 main: "conv_linker_config_test.py",
198 srcs: [
199 "conv_linker_config_test.py",
200 "conv_linker_config.py",
201 ],
202 libs: ["linker_config_proto"],
203 test_suites: ["general-tests"],
204}
205
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700206python_binary_host {
207 name: "get_clang_version",
208 main: "get_clang_version.py",
209 srcs: [
210 "get_clang_version.py",
211 ],
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700212}
Sasha Smundakfe118512022-03-30 20:33:09 -0700213
Jooyung Han7113b192022-09-20 17:00:27 +0900214python_binary_host {
215 name: "build-apex-bundle",
216 main: "build-apex-bundle.py",
217 srcs: [
218 "build-apex-bundle.py",
219 ],
220 required: [
221 "bundletool",
222 ],
223}
224
Sasha Smundakfe118512022-03-30 20:33:09 -0700225sh_binary_host {
226 name: "list_image",
227 src: "list_image.sh",
228}
Martin Geisler4e86b5e2022-05-13 16:01:35 +0200229
230filegroup {
231 name: "rustfmt.toml",
232 srcs: ["rustfmt.toml"],
233 visibility: ["//visibility:public"],
234}
Romain Jobredeaux6d8716c2023-03-14 12:41:59 -0400235
236sh_binary_host {
237 name: "jars-to-module-info-java",
238 src: "jars-to-module-info-java.sh",
239}
Andrei Onea580f7b02022-08-17 16:50:48 +0000240
241python_binary_host {
242 name: "modify_permissions_allowlist",
243 main: "modify_permissions_allowlist.py",
244 srcs: [
245 "modify_permissions_allowlist.py",
246 ],
247}
248
249python_test_host {
250 name: "modify_permissions_allowlist_test",
251 main: "modify_permissions_allowlist_test.py",
252 srcs: [
253 "modify_permissions_allowlist_test.py",
254 "modify_permissions_allowlist.py",
255 ],
256}
Jihoon Kangc32d1f52023-12-14 19:11:16 +0000257
258sh_binary_host {
259 name: "keep-flagged-apis",
260 src: "keep-flagged-apis.sh",
261}