blob: 730d7567ee1ef4e835ce86991794ba73c266369c [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 ],
50 version: {
51 py2: {
Cole Faustc41dd722021-11-09 15:08:26 -080052 // TODO(b/203436762) Remove when system/apex/apexer/apexer.py is converted
Colin Cross72119102019-05-20 13:14:18 -070053 enabled: true,
54 },
55 py3: {
Cole Faustc41dd722021-11-09 15:08:26 -080056 enabled: true,
Colin Cross72119102019-05-20 13:14:18 -070057 },
58 },
Cole Faustc41dd722021-11-09 15:08:26 -080059 visibility: ["//system/apex/apexer:__pkg__"],
Colin Cross72119102019-05-20 13:14:18 -070060}
61
62python_binary_host {
63 name: "manifest_check",
64 main: "manifest_check.py",
65 srcs: [
66 "manifest_check.py",
Colin Cross72119102019-05-20 13:14:18 -070067 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080068 libs: [
69 "manifest_utils",
70 ],
Colin Cross72119102019-05-20 13:14:18 -070071}
72
73python_test_host {
74 name: "manifest_check_test",
75 main: "manifest_check_test.py",
76 srcs: [
77 "manifest_check_test.py",
78 "manifest_check.py",
Colin Cross4af387c2019-05-16 13:16:29 -070079 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080080 libs: [
81 "manifest_utils",
82 ],
Julien Desprez2dc86b22021-03-19 17:16:09 +000083 test_options: {
84 unit_test: true,
85 },
Colin Cross4af387c2019-05-16 13:16:29 -070086}
Jooyung Han04329f12019-08-01 23:35:08 +090087
88python_binary_host {
89 name: "jsonmodify",
90 main: "jsonmodify.py",
91 srcs: [
92 "jsonmodify.py",
93 ],
Jooyung Han04329f12019-08-01 23:35:08 +090094}
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080095
96python_binary_host {
97 name: "test_config_fixer",
98 main: "test_config_fixer.py",
99 srcs: [
100 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800101 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800102 libs: [
103 "manifest_utils",
104 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800105}
106
107python_test_host {
108 name: "test_config_fixer_test",
109 main: "test_config_fixer_test.py",
110 srcs: [
111 "test_config_fixer_test.py",
112 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800113 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800114 libs: [
115 "manifest_utils",
116 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800117 test_suites: ["general-tests"],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800118}
Colin Cross014489c2020-06-02 20:09:13 -0700119
120python_binary_host {
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100121 name: "construct_context",
122 main: "construct_context.py",
123 srcs: [
124 "construct_context.py",
125 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100126 libs: [
127 "manifest_utils",
128 ],
129}
130
131python_test_host {
132 name: "construct_context_test",
133 main: "construct_context_test.py",
134 srcs: [
135 "construct_context_test.py",
136 "construct_context.py",
137 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100138 libs: [
139 "manifest_utils",
140 ],
141 test_suites: ["general-tests"],
142}
143
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100144python_library_host {
145 name: "ninja_rsp",
146 srcs: ["ninja_rsp.py"],
147}
148
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100149python_binary_host {
Jaewoong Jung5a420252021-04-19 17:58:22 -0700150 name: "lint_project_xml",
151 main: "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700152 srcs: [
Jaewoong Jung5a420252021-04-19 17:58:22 -0700153 "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700154 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100155 libs: ["ninja_rsp"],
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700156}
157
Jaewoong Jung7b939082021-04-20 07:23:25 -0700158python_test_host {
159 name: "lint_project_xml_test",
160 main: "lint_project_xml_test.py",
161 srcs: [
162 "lint_project_xml_test.py",
163 "lint_project_xml.py",
164 ],
165 libs: ["ninja_rsp"],
166 test_suites: ["general-tests"],
167}
168
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700169python_binary_host {
170 name: "gen-kotlin-build-file.py",
171 main: "gen-kotlin-build-file.py",
172 srcs: [
173 "gen-kotlin-build-file.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700174 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100175 libs: ["ninja_rsp"],
Colin Cross014489c2020-06-02 20:09:13 -0700176}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900177
178python_binary_host {
179 name: "conv_linker_config",
180 srcs: [
181 "conv_linker_config.py",
182 ],
183 version: {
Kiyoung Kim62abd122020-10-06 17:16:44 +0900184 py3: {
Kiyoung Kim62abd122020-10-06 17:16:44 +0900185 embedded_launcher: true,
186 },
187 },
188 libs: [
189 "linker_config_proto",
190 ],
191}
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700192
193python_binary_host {
194 name: "get_clang_version",
195 main: "get_clang_version.py",
196 srcs: [
197 "get_clang_version.py",
198 ],
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700199}