blob: 4773579e355fc4917112a9f18ebfb9b52f6eb6de [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
87python_binary_host {
88 name: "test_config_fixer",
89 main: "test_config_fixer.py",
90 srcs: [
91 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080092 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -080093 libs: [
94 "manifest_utils",
95 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -080096}
97
98python_test_host {
99 name: "test_config_fixer_test",
100 main: "test_config_fixer_test.py",
101 srcs: [
102 "test_config_fixer_test.py",
103 "test_config_fixer.py",
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800104 ],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800105 libs: [
106 "manifest_utils",
107 ],
Jaewoong Junge5cd4e12019-11-22 14:34:55 -0800108 test_suites: ["general-tests"],
Baligh Uddin3be82c02020-02-19 21:16:31 -0800109}
Colin Cross014489c2020-06-02 20:09:13 -0700110
111python_binary_host {
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100112 name: "construct_context",
113 main: "construct_context.py",
114 srcs: [
115 "construct_context.py",
116 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100117 libs: [
118 "manifest_utils",
119 ],
120}
121
122python_test_host {
123 name: "construct_context_test",
124 main: "construct_context_test.py",
125 srcs: [
126 "construct_context_test.py",
127 "construct_context.py",
128 ],
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100129 libs: [
130 "manifest_utils",
131 ],
132 test_suites: ["general-tests"],
133}
134
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100135python_library_host {
136 name: "ninja_rsp",
137 srcs: ["ninja_rsp.py"],
138}
139
Ulya Trafimovich5f364b62020-06-30 12:39:01 +0100140python_binary_host {
Jaewoong Jung5a420252021-04-19 17:58:22 -0700141 name: "lint_project_xml",
142 main: "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700143 srcs: [
Jaewoong Jung5a420252021-04-19 17:58:22 -0700144 "lint_project_xml.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700145 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100146 libs: ["ninja_rsp"],
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700147}
148
Jaewoong Jung7b939082021-04-20 07:23:25 -0700149python_test_host {
150 name: "lint_project_xml_test",
151 main: "lint_project_xml_test.py",
152 srcs: [
153 "lint_project_xml_test.py",
154 "lint_project_xml.py",
155 ],
156 libs: ["ninja_rsp"],
157 test_suites: ["general-tests"],
158}
159
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700160python_binary_host {
161 name: "gen-kotlin-build-file.py",
162 main: "gen-kotlin-build-file.py",
163 srcs: [
164 "gen-kotlin-build-file.py",
Colin Cross9b1aa0c2020-06-25 17:12:28 -0700165 ],
Thiébaud Weksteen713db482021-02-10 14:03:27 +0100166 libs: ["ninja_rsp"],
Colin Cross014489c2020-06-02 20:09:13 -0700167}
Kiyoung Kim62abd122020-10-06 17:16:44 +0900168
169python_binary_host {
170 name: "conv_linker_config",
171 srcs: [
172 "conv_linker_config.py",
173 ],
174 version: {
Kiyoung Kim62abd122020-10-06 17:16:44 +0900175 py3: {
Kiyoung Kim62abd122020-10-06 17:16:44 +0900176 embedded_launcher: true,
177 },
178 },
179 libs: [
180 "linker_config_proto",
181 ],
182}
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700183
184python_binary_host {
185 name: "get_clang_version",
186 main: "get_clang_version.py",
187 srcs: [
188 "get_clang_version.py",
189 ],
Pirama Arumuga Nainar2558ce32021-06-24 15:59:38 -0700190}
Sasha Smundakfe118512022-03-30 20:33:09 -0700191
192sh_binary_host {
193 name: "list_image",
194 src: "list_image.sh",
195}