blob: b9163ccf1753e466ddbe14fabab0b411b8459773 [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 ],
58 test_suites: ["general-tests"],
59}
60
61python_library_host {
62 name: "manifest_utils",
63 srcs: [
Colin Cross72119102019-05-20 13:14:18 -070064 "manifest.py",
65 ],
66 version: {
67 py2: {
68 enabled: true,
69 },
70 py3: {
71 enabled: false,
72 },
73 },
Colin Cross72119102019-05-20 13:14:18 -070074}
75
76python_binary_host {
77 name: "manifest_check",
78 main: "manifest_check.py",
79 srcs: [
80 "manifest_check.py",
Colin Cross72119102019-05-20 13:14:18 -070081 ],
82 version: {
83 py2: {
84 enabled: true,
85 },
86 py3: {
87 enabled: false,
88 },
89 },
Baligh Uddin3be82c02020-02-19 21:16:31 -080090 libs: [
91 "manifest_utils",
92 ],
Colin Cross72119102019-05-20 13:14:18 -070093}
94
95python_test_host {
96 name: "manifest_check_test",
97 main: "manifest_check_test.py",
98 srcs: [
99 "manifest_check_test.py",
100 "manifest_check.py",
Colin Cross4af387c2019-05-16 13:16:29 -0700101 ],
102 version: {
103 py2: {
104 enabled: true,
105 },
106 py3: {
107 enabled: false,
108 },
109 },
Baligh Uddin3be82c02020-02-19 21:16:31 -0800110 libs: [
111 "manifest_utils",
112 ],
Colin Cross4af387c2019-05-16 13:16:29 -0700113 test_suites: ["general-tests"],
114}
Jooyung Han04329f12019-08-01 23:35:08 +0900115
116python_binary_host {
117 name: "jsonmodify",
118 main: "jsonmodify.py",
119 srcs: [
120 "jsonmodify.py",
121 ],
122 version: {
123 py2: {
124 enabled: true,
125 },
126 py3: {
127 enabled: false,
128 },
ThiƩbaud Weksteen5e291c22020-06-26 14:04:00 +0200129 },
Jooyung Han04329f12019-08-01 23:35:08 +0900130}
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800131
132python_binary_host {
133 name: "test_config_fixer",
134 main: "test_config_fixer.py",
135 srcs: [
136 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800137 ],
138 version: {
139 py2: {
140 enabled: true,
141 },
142 py3: {
143 enabled: false,
144 },
145 },
Baligh Uddin3be82c02020-02-19 21:16:31 -0800146 libs: [
147 "manifest_utils",
148 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800149}
150
151python_test_host {
152 name: "test_config_fixer_test",
153 main: "test_config_fixer_test.py",
154 srcs: [
155 "test_config_fixer_test.py",
156 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800157 ],
158 version: {
159 py2: {
160 enabled: true,
161 },
162 py3: {
163 enabled: false,
164 },
165 },
Baligh Uddin3be82c02020-02-19 21:16:31 -0800166 libs: [
167 "manifest_utils",
168 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800169 test_suites: ["general-tests"],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800170}
Colin Cross014489c2020-06-02 20:09:13 -0700171
172python_binary_host {
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100173 name: "construct_context",
174 main: "construct_context.py",
175 srcs: [
176 "construct_context.py",
177 ],
178 version: {
179 py2: {
180 enabled: true,
181 },
182 py3: {
183 enabled: false,
184 },
185 },
186 libs: [
187 "manifest_utils",
188 ],
189}
190
191python_test_host {
192 name: "construct_context_test",
193 main: "construct_context_test.py",
194 srcs: [
195 "construct_context_test.py",
196 "construct_context.py",
197 ],
198 version: {
199 py2: {
200 enabled: true,
201 },
202 py3: {
203 enabled: false,
204 },
205 },
206 libs: [
207 "manifest_utils",
208 ],
209 test_suites: ["general-tests"],
210}
211
212python_binary_host {
Colin Cross014489c2020-06-02 20:09:13 -0700213 name: "lint-project-xml",
214 main: "lint-project-xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700215 srcs: [
216 "lint-project-xml.py",
217 "ninja_rsp.py",
218 ],
219}
220
221python_binary_host {
222 name: "gen-kotlin-build-file.py",
223 main: "gen-kotlin-build-file.py",
224 srcs: [
225 "gen-kotlin-build-file.py",
226 "ninja_rsp.py",
227 ],
Colin Cross014489c2020-06-02 20:09:13 -0700228}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900229
230python_binary_host {
231 name: "conv_linker_config",
232 srcs: [
233 "conv_linker_config.py",
234 ],
235 version: {
236 py2: {
237 enabled: false,
238 },
239 py3: {
240 enabled: true,
241 embedded_launcher: true,
242 },
243 },
244 libs: [
245 "linker_config_proto",
246 ],
247}