blob: c54b2bcbd35a4f586021a24512ce25883980e131 [file] [log] [blame]
Bob Badour02040de2021-02-03 18:08:28 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Colin Cross4af387c2019-05-16 13:16:29 -07005python_binary_host {
Paul Duffin9a89a2a2020-10-28 19:20:06 +00006 name: "check_boot_jars",
7 main: "check_boot_jars/check_boot_jars.py",
8 srcs: [
9 "check_boot_jars/check_boot_jars.py",
10 ],
11 version: {
12 py2: {
13 enabled: true,
14 },
15 py3: {
16 enabled: false,
17 },
18 },
19}
20
21python_binary_host {
Colin Cross4af387c2019-05-16 13:16:29 -070022 name: "manifest_fixer",
23 main: "manifest_fixer.py",
24 srcs: [
25 "manifest_fixer.py",
26 ],
27 version: {
28 py2: {
29 enabled: true,
30 },
31 py3: {
32 enabled: false,
33 },
34 },
Baligh Uddin3be82c02020-02-19 21:16:31 -080035 libs: [
36 "manifest_utils",
37 ],
Colin Cross4af387c2019-05-16 13:16:29 -070038}
39
40python_test_host {
41 name: "manifest_fixer_test",
42 main: "manifest_fixer_test.py",
43 srcs: [
44 "manifest_fixer_test.py",
45 "manifest_fixer.py",
Baligh Uddin3be82c02020-02-19 21:16:31 -080046 ],
47 version: {
48 py2: {
49 enabled: true,
50 },
51 py3: {
52 enabled: false,
53 },
54 },
55 libs: [
56 "manifest_utils",
57 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +000058 test_options: {
59 unit_test: true,
60 },
Baligh Uddin3be82c02020-02-19 21:16:31 -080061}
62
63python_library_host {
64 name: "manifest_utils",
65 srcs: [
Colin Cross72119102019-05-20 13:14:18 -070066 "manifest.py",
67 ],
68 version: {
69 py2: {
70 enabled: true,
71 },
72 py3: {
73 enabled: false,
74 },
75 },
Colin Cross72119102019-05-20 13:14:18 -070076}
77
78python_binary_host {
79 name: "manifest_check",
80 main: "manifest_check.py",
81 srcs: [
82 "manifest_check.py",
Colin Cross72119102019-05-20 13:14:18 -070083 ],
84 version: {
85 py2: {
86 enabled: true,
87 },
88 py3: {
89 enabled: false,
90 },
91 },
Baligh Uddin3be82c02020-02-19 21:16:31 -080092 libs: [
93 "manifest_utils",
94 ],
Colin Cross72119102019-05-20 13:14:18 -070095}
96
97python_test_host {
98 name: "manifest_check_test",
99 main: "manifest_check_test.py",
100 srcs: [
101 "manifest_check_test.py",
102 "manifest_check.py",
Colin Cross4af387c2019-05-16 13:16:29 -0700103 ],
104 version: {
105 py2: {
106 enabled: true,
107 },
108 py3: {
109 enabled: false,
110 },
111 },
Baligh Uddin3be82c02020-02-19 21:16:31 -0800112 libs: [
113 "manifest_utils",
114 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +0000115 test_options: {
116 unit_test: true,
117 },
Colin Cross4af387c2019-05-16 13:16:29 -0700118}
Jooyung Han04329f12019-08-01 23:35:08 +0900119
120python_binary_host {
121 name: "jsonmodify",
122 main: "jsonmodify.py",
123 srcs: [
124 "jsonmodify.py",
125 ],
126 version: {
127 py2: {
128 enabled: true,
129 },
130 py3: {
131 enabled: false,
132 },
Thiébaud Weksteen5e291c22020-06-26 14:04:00 +0200133 },
Jooyung Han04329f12019-08-01 23:35:08 +0900134}
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800135
136python_binary_host {
137 name: "test_config_fixer",
138 main: "test_config_fixer.py",
139 srcs: [
140 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800141 ],
142 version: {
143 py2: {
144 enabled: true,
145 },
146 py3: {
147 enabled: false,
148 },
149 },
Baligh Uddin3be82c02020-02-19 21:16:31 -0800150 libs: [
151 "manifest_utils",
152 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800153}
154
155python_test_host {
156 name: "test_config_fixer_test",
157 main: "test_config_fixer_test.py",
158 srcs: [
159 "test_config_fixer_test.py",
160 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800161 ],
162 version: {
163 py2: {
164 enabled: true,
165 },
166 py3: {
167 enabled: false,
168 },
169 },
Baligh Uddin3be82c02020-02-19 21:16:31 -0800170 libs: [
171 "manifest_utils",
172 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800173 test_suites: ["general-tests"],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800174}
Colin Cross014489c2020-06-02 20:09:13 -0700175
176python_binary_host {
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100177 name: "construct_context",
178 main: "construct_context.py",
179 srcs: [
180 "construct_context.py",
181 ],
182 version: {
183 py2: {
184 enabled: true,
185 },
186 py3: {
187 enabled: false,
188 },
189 },
190 libs: [
191 "manifest_utils",
192 ],
193}
194
195python_test_host {
196 name: "construct_context_test",
197 main: "construct_context_test.py",
198 srcs: [
199 "construct_context_test.py",
200 "construct_context.py",
201 ],
202 version: {
203 py2: {
204 enabled: true,
205 },
206 py3: {
207 enabled: false,
208 },
209 },
210 libs: [
211 "manifest_utils",
212 ],
213 test_suites: ["general-tests"],
214}
215
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100216python_library_host {
217 name: "ninja_rsp",
218 srcs: ["ninja_rsp.py"],
219}
220
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100221python_binary_host {
Colin Cross014489c2020-06-02 20:09:13 -0700222 name: "lint-project-xml",
223 main: "lint-project-xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700224 srcs: [
225 "lint-project-xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700226 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100227 libs: ["ninja_rsp"],
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700228}
229
230python_binary_host {
231 name: "gen-kotlin-build-file.py",
232 main: "gen-kotlin-build-file.py",
233 srcs: [
234 "gen-kotlin-build-file.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700235 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100236 libs: ["ninja_rsp"],
Colin Cross014489c2020-06-02 20:09:13 -0700237}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900238
239python_binary_host {
240 name: "conv_linker_config",
241 srcs: [
242 "conv_linker_config.py",
243 ],
244 version: {
245 py2: {
246 enabled: false,
247 },
248 py3: {
249 enabled: true,
250 embedded_launcher: true,
251 },
252 },
253 libs: [
254 "linker_config_proto",
255 ],
256}
Artur Satayevca6fe342021-03-23 15:23:00 +0000257
258python_binary_host {
259 name: "conv_classpaths_proto",
260 srcs: [
261 "conv_classpaths_proto.py",
262 ],
263 version: {
264 py2: {
265 enabled: false,
266 },
267 py3: {
268 enabled: true,
269 embedded_launcher: true,
270 },
271 },
272 libs: [
273 "classpaths_proto_python",
274 ],
275}