blob: 827aaac8f1d4e8a064d88a6803e5fb79b3d6d8b0 [file] [log] [blame]
Tao Bao30e31142019-04-09 00:12:30 -07001// Copyright (C) 2019 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Tao Bao3c7b2a62019-08-07 12:24:20 -070015//
16// Module-specific defaults.
17//
18// For module X, if we need to build it both as a library and an executable:
19// - A default rule `releasetools_X_defaults` is created, which lists `srcs`, `libs` and
20// `required` properties.
21// - `python_library_host` and `python_binary_host` are created by listing
22// `releasetools_X_defaults` in their defaults.
23//
24
Bob Badour03905802021-02-12 21:42:54 -080025package {
26 default_applicable_licenses: ["Android-Apache-2.0"],
27}
28
Tao Bao3c7b2a62019-08-07 12:24:20 -070029python_defaults {
30 name: "releasetools_add_img_to_target_files_defaults",
31 srcs: [
32 "add_img_to_target_files.py",
33 ],
34 libs: [
Kelvin Zhang5f0fcee2021-01-19 15:30:46 -050035 "ota_metadata_proto",
36 "releasetools_apex_utils",
Tao Bao3c7b2a62019-08-07 12:24:20 -070037 "releasetools_build_image",
38 "releasetools_build_super_image",
39 "releasetools_common",
40 ],
41 required: [
42 "care_map_generator",
43 ],
44}
45
46python_defaults {
47 name: "releasetools_build_image_defaults",
48 srcs: [
49 "build_image.py",
50 ],
51 libs: [
52 "releasetools_common",
53 "releasetools_verity_utils",
54 ],
55 required: [
56 "blk_alloc_to_base_fs",
57 "e2fsck",
Gao Xiang961041a2020-06-17 13:59:16 +080058 "mkerofsimage.sh",
Yifan Hong77023452020-08-25 16:15:16 -070059 "mkuserimg_mke2fs",
Tao Bao3c7b2a62019-08-07 12:24:20 -070060 "simg2img",
61 "tune2fs",
Jaegeuk Kim1f50a362021-06-08 18:24:46 -070062 "mkf2fsuserimg.sh",
63 "fsck.f2fs",
Tao Bao3c7b2a62019-08-07 12:24:20 -070064 ],
65}
66
67python_defaults {
68 name: "releasetools_build_super_image_defaults",
69 srcs: [
70 "build_super_image.py",
71 ],
72 libs: [
73 "releasetools_common",
74 ],
75}
76
77python_defaults {
78 name: "releasetools_img_from_target_files_defaults",
79 srcs: [
80 "img_from_target_files.py",
81 ],
82 libs: [
83 "releasetools_build_super_image",
84 "releasetools_common",
85 ],
86}
87
88python_defaults {
Yifan Honge3ba82c2019-08-21 13:29:30 -070089 name: "releasetools_check_target_files_vintf_defaults",
90 srcs: [
91 "check_target_files_vintf.py",
92 ],
93 libs: [
94 "releasetools_common",
95 ],
96 required: [
97 "checkvintf",
98 ],
99}
100
Tianjiea2076132020-08-19 17:25:32 -0700101python_library_host {
102 name: "ota_metadata_proto",
Tianjiea2076132020-08-19 17:25:32 -0700103 srcs: [
104 "ota_metadata.proto",
105 ],
106 proto: {
107 canonical_path_from_root: false,
108 },
109}
110
Kelvin Zhanga3a74b62021-05-14 17:18:43 -0400111cc_library_static {
112 name: "ota_metadata_proto_cc",
113 srcs: [
114 "ota_metadata.proto",
115 ],
116 host_supported: true,
117 recovery_available: true,
118 proto: {
119 canonical_path_from_root: false,
120 type: "lite",
121 export_proto_headers: true,
122 },
123}
124
Kelvin Zhang2b6a9c32021-04-12 17:24:26 -0400125java_library_static {
126 name: "ota_metadata_proto_java",
127 host_supported: true,
128 proto: {
129 type: "nano",
130 },
131 srcs: ["ota_metadata.proto"],
132 sdk_version: "9",
133 target: {
134 android: {
135 jarjar_rules: "jarjar-rules.txt",
136 },
137 host: {
138 static_libs: ["libprotobuf-java-nano"],
139 },
140 },
141 visibility: ["//frameworks/base:__subpackages__"]
142}
143
Yifan Honge3ba82c2019-08-21 13:29:30 -0700144python_defaults {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700145 name: "releasetools_ota_from_target_files_defaults",
146 srcs: [
147 "edify_generator.py",
Kelvin Zhangcff4d762020-07-29 16:37:51 -0400148 "non_ab_ota.py",
Tianjiea2076132020-08-19 17:25:32 -0700149 "ota_from_target_files.py",
Kelvin Zhangcff4d762020-07-29 16:37:51 -0400150 "ota_utils.py",
Tianjiea2076132020-08-19 17:25:32 -0700151 "target_files_diff.py",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700152 ],
153 libs: [
Tianjiea2076132020-08-19 17:25:32 -0700154 "ota_metadata_proto",
Yifan Hong9276cf02019-08-21 16:37:04 -0700155 "releasetools_check_target_files_vintf",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700156 "releasetools_common",
157 "releasetools_verity_utils",
Mohammad Samiul Islam9fd58862021-01-06 13:33:25 +0000158 "apex_manifest",
Kelvin Zhang766eea72021-06-03 09:36:08 -0400159 "care_map_proto_py",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700160 ],
161 required: [
162 "brillo_update_payload",
Yifan Hong09298552019-09-04 11:49:01 -0700163 "checkvintf",
jiajia tangf3f842b2021-03-17 21:49:44 +0800164 "minigzip",
Yifan Hong125d0b62020-09-24 17:07:03 -0700165 "lz4",
166 "toybox",
Mohammad Samiul Islam9fd58862021-01-06 13:33:25 +0000167 "unpack_bootimg",
168 "deapexer",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700169 ],
Yo Chiang096c5152020-08-07 04:22:18 +0000170 target: {
171 darwin: {
172 // required module "brillo_update_payload" is disabled on darwin
173 enabled: false,
174 },
175 },
Tao Bao3c7b2a62019-08-07 12:24:20 -0700176}
177
178//
179// Host libraries.
180//
181
Tao Bao30e31142019-04-09 00:12:30 -0700182python_library_host {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700183 name: "releasetools_add_img_to_target_files",
184 defaults: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700185 "releasetools_add_img_to_target_files_defaults",
186 ],
187}
188
189python_library_host {
190 name: "releasetools_apex_utils",
Tao Bao005305a2019-08-05 13:00:44 -0700191 srcs: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700192 "apex_utils.py",
193 ],
194 libs: [
Mohammad Samiul Islam9fd58862021-01-06 13:33:25 +0000195 "apex_manifest",
196 "ota_metadata_proto",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700197 "releasetools_common",
198 ],
199}
200
201python_library_host {
202 name: "releasetools_build_image",
203 defaults: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700204 "releasetools_build_image_defaults",
205 ],
206}
207
208python_library_host {
209 name: "releasetools_build_super_image",
210 defaults: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700211 "releasetools_build_super_image_defaults",
Tao Bao005305a2019-08-05 13:00:44 -0700212 ],
213}
214
215python_library_host {
Yifan Hongccb86fe2019-08-22 15:52:26 -0700216 name: "releasetools_check_target_files_vintf",
217 defaults: [
Yifan Hongccb86fe2019-08-22 15:52:26 -0700218 "releasetools_check_target_files_vintf_defaults",
219 ],
220}
221
222python_library_host {
Tao Bao2bbb07c2019-05-07 13:12:21 -0700223 name: "releasetools_common",
Tao Bao30e31142019-04-09 00:12:30 -0700224 srcs: [
Tao Bao30e31142019-04-09 00:12:30 -0700225 "blockimgdiff.py",
Tao Bao30e31142019-04-09 00:12:30 -0700226 "common.py",
Tianjie Xu41976c72019-07-03 13:57:01 -0700227 "images.py",
Tao Bao30e31142019-04-09 00:12:30 -0700228 "rangelib.py",
Tao Bao30e31142019-04-09 00:12:30 -0700229 "sparse_img.py",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700230 ],
231 // Only the tools that are referenced directly are listed as required modules. For example,
232 // `avbtool` is not here, as the script always uses the one from info_dict['avb_avbtool'].
233 required: [
changho.shin0f125362019-07-08 10:59:00 +0900234 "aapt2",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700235 "boot_signer",
236 "brotli",
237 "bsdiff",
238 "imgdiff",
239 "minigzip",
J. Avila98cd4cc2020-06-10 20:09:10 +0000240 "lz4",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700241 "mkbootfs",
Luca Stefani3e4b4482020-03-27 14:00:23 +0100242 "signapk",
Yifan Hong14a87122021-01-12 13:26:25 -0800243 "toybox",
244 "unpack_bootimg",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700245 ],
246}
247
248python_library_host {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700249 name: "releasetools_img_from_target_files",
250 defaults: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700251 "releasetools_img_from_target_files_defaults",
252 ],
253}
254
255python_library_host {
256 name: "releasetools_ota_from_target_files",
257 defaults: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700258 "releasetools_ota_from_target_files_defaults",
259 ],
260}
261
262python_library_host {
Tao Bao2bbb07c2019-05-07 13:12:21 -0700263 name: "releasetools_verity_utils",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700264 srcs: [
Tao Bao30e31142019-04-09 00:12:30 -0700265 "verity_utils.py",
266 ],
Tao Bao2bbb07c2019-05-07 13:12:21 -0700267 required: [
268 "append2simg",
269 "build_verity_metadata",
270 "build_verity_tree",
271 "fec",
272 ],
273}
274
Tao Bao3c7b2a62019-08-07 12:24:20 -0700275//
276// Host binaries.
277//
278
Tao Bao2bbb07c2019-05-07 13:12:21 -0700279python_defaults {
280 name: "releasetools_binary_defaults",
281 version: {
Tao Bao2bbb07c2019-05-07 13:12:21 -0700282 py3: {
Cole Faustc76931f2021-11-04 16:59:39 -0700283 embedded_launcher: true,
Tao Bao2bbb07c2019-05-07 13:12:21 -0700284 },
285 },
Kiyoung Kim0a8d2622020-03-24 09:36:03 +0900286 // TODO (b/140144201) Build imgdiff from releasetools_common
287 required: [
288 "aapt2",
289 "boot_signer",
290 "brotli",
291 "bsdiff",
Mohammad Samiul Islamf4909b42021-02-01 20:43:41 +0000292 "deapexer",
Kiyoung Kim0a8d2622020-03-24 09:36:03 +0900293 "imgdiff",
294 "minigzip",
Luca Stefanie0fc4ca2020-09-12 06:08:16 +0000295 "lz4",
Kiyoung Kim0a8d2622020-03-24 09:36:03 +0900296 "mkbootfs",
Luca Stefanie0fc4ca2020-09-12 06:08:16 +0000297 "signapk",
Yifan Hong14a87122021-01-12 13:26:25 -0800298 "toybox",
299 "unpack_bootimg",
Kiyoung Kim0a8d2622020-03-24 09:36:03 +0900300 ],
Tao Bao2bbb07c2019-05-07 13:12:21 -0700301}
302
303python_binary_host {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700304 name: "add_img_to_target_files",
305 defaults: [
306 "releasetools_binary_defaults",
307 "releasetools_add_img_to_target_files_defaults",
308 ],
309}
310
311python_binary_host {
Tao Bao2bbb07c2019-05-07 13:12:21 -0700312 name: "build_image",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700313 defaults: [
314 "releasetools_binary_defaults",
315 "releasetools_build_image_defaults",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700316 ],
317}
318
319python_binary_host {
320 name: "build_super_image",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700321 defaults: [
322 "releasetools_binary_defaults",
323 "releasetools_build_super_image_defaults",
324 ],
325}
326
327python_binary_host {
Yifan Hong3a7c2ef2019-11-01 18:23:19 +0000328 name: "check_partition_sizes",
329 srcs: [
330 "check_partition_sizes.py",
331 ],
332 libs: [
333 "releasetools_common",
334 ],
335 defaults: [
336 "releasetools_binary_defaults",
337 ],
338}
339
340python_binary_host {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700341 name: "check_ota_package_signature",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700342 defaults: ["releasetools_binary_defaults"],
343 srcs: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700344 "check_ota_package_signature.py",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700345 ],
Tao Bao2bbb07c2019-05-07 13:12:21 -0700346 libs: [
347 "releasetools_common",
348 ],
Tao Bao3c7b2a62019-08-07 12:24:20 -0700349 required: [
350 "delta_generator",
351 ],
Yo Chiang096c5152020-08-07 04:22:18 +0000352 target: {
353 darwin: {
354 // required module "delta_generator" is disabled on darwin
355 enabled: false,
356 },
357 },
Tao Bao3c7b2a62019-08-07 12:24:20 -0700358}
359
360python_binary_host {
361 name: "check_target_files_signatures",
362 defaults: ["releasetools_binary_defaults"],
363 srcs: [
364 "check_target_files_signatures.py",
365 ],
366 libs: [
367 "releasetools_common",
368 ],
369 required: [
Elliott Hughes16a5cac2021-05-14 15:27:23 -0700370 "aapt2",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700371 ],
372}
373
374python_binary_host {
Yifan Honge3ba82c2019-08-21 13:29:30 -0700375 name: "check_target_files_vintf",
376 defaults: [
377 "releasetools_binary_defaults",
378 "releasetools_check_target_files_vintf_defaults"
379 ],
380}
381
382python_binary_host {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700383 name: "img_from_target_files",
384 defaults: [
385 "releasetools_binary_defaults",
386 "releasetools_img_from_target_files_defaults",
387 ],
Tao Bao30e31142019-04-09 00:12:30 -0700388}
389
Daniel Normanb8d52a22020-10-26 17:55:00 -0700390python_defaults {
391 name: "releasetools_find_shareduid_violation_defaults",
392 srcs: [
393 "find_shareduid_violation.py",
394 ],
395 libs: [
396 "releasetools_common",
397 ],
398}
399
400python_binary_host {
401 name: "find_shareduid_violation",
402 defaults: [
403 "releasetools_binary_defaults",
404 "releasetools_find_shareduid_violation_defaults",
405 ],
406}
407
408python_library_host {
409 name: "releasetools_find_shareduid_violation",
410 defaults: [
411 "releasetools_find_shareduid_violation_defaults",
Daniel Normanb8d52a22020-10-26 17:55:00 -0700412 ],
413}
414
Daniel Normanbfc51ef2019-07-24 14:34:54 -0700415python_binary_host {
Tao Baoe11a4602019-08-06 23:21:23 -0700416 name: "make_recovery_patch",
417 defaults: ["releasetools_binary_defaults"],
418 srcs: [
419 "make_recovery_patch.py",
420 ],
421 libs: [
422 "releasetools_common",
423 ],
424}
425
426python_binary_host {
Daniel Normanbfc51ef2019-07-24 14:34:54 -0700427 name: "merge_builds",
428 defaults: ["releasetools_binary_defaults"],
429 srcs: [
Daniel Normanbfc51ef2019-07-24 14:34:54 -0700430 "merge_builds.py",
431 ],
Daniel Normanbfc51ef2019-07-24 14:34:54 -0700432 libs: [
Tao Bao005305a2019-08-05 13:00:44 -0700433 "releasetools_build_super_image",
Daniel Normanbfc51ef2019-07-24 14:34:54 -0700434 "releasetools_common",
435 ],
436}
437
Tao Bao8821d642019-08-05 12:05:45 -0700438python_binary_host {
Tao Bao3c7b2a62019-08-07 12:24:20 -0700439 name: "merge_target_files",
Tao Bao8821d642019-08-05 12:05:45 -0700440 defaults: ["releasetools_binary_defaults"],
441 srcs: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700442 "merge_target_files.py",
Tao Bao8821d642019-08-05 12:05:45 -0700443 ],
444 libs: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700445 "releasetools_add_img_to_target_files",
446 "releasetools_build_super_image",
Yifan Hongade0d3f2019-08-21 16:37:11 -0700447 "releasetools_check_target_files_vintf",
Tao Bao8821d642019-08-05 12:05:45 -0700448 "releasetools_common",
Daniel Normanb8d52a22020-10-26 17:55:00 -0700449 "releasetools_find_shareduid_violation",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700450 "releasetools_img_from_target_files",
451 "releasetools_ota_from_target_files",
Tao Bao8821d642019-08-05 12:05:45 -0700452 ],
Yifan Hong09298552019-09-04 11:49:01 -0700453 required: [
454 "checkvintf",
Daniel Norman21c34f72020-11-11 17:25:50 -0800455 "host_init_verifier",
Daniel Norman48603ff2021-02-22 15:15:24 -0800456 "secilc",
Yifan Hong09298552019-09-04 11:49:01 -0700457 ],
Yo Chiang096c5152020-08-07 04:22:18 +0000458 target: {
459 darwin: {
460 // libs dep "releasetools_ota_from_target_files" is disabled on darwin
461 enabled: false,
462 },
463 },
Tao Bao3c7b2a62019-08-07 12:24:20 -0700464}
465
466python_binary_host {
467 name: "ota_from_target_files",
468 defaults: [
469 "releasetools_binary_defaults",
470 "releasetools_ota_from_target_files_defaults",
471 ],
472}
473
474python_binary_host {
475 name: "ota_package_parser",
476 defaults: ["releasetools_binary_defaults"],
477 srcs: [
478 "ota_package_parser.py",
479 "rangelib.py",
Tao Bao8821d642019-08-05 12:05:45 -0700480 ],
481}
482
Tao Baoe11a4602019-08-06 23:21:23 -0700483python_binary_host {
484 name: "sparse_img",
485 defaults: ["releasetools_binary_defaults"],
486 srcs: [
487 "rangelib.py",
488 "sparse_img.py",
489 ],
Tao Baoe11a4602019-08-06 23:21:23 -0700490}
491
Tao Bao3c7b2a62019-08-07 12:24:20 -0700492python_binary_host {
493 name: "sign_apex",
494 defaults: ["releasetools_binary_defaults"],
495 srcs: [
496 "sign_apex.py",
497 ],
498 libs: [
499 "releasetools_apex_utils",
500 "releasetools_common",
501 ],
502}
503
504python_binary_host {
505 name: "sign_target_files_apks",
506 defaults: ["releasetools_binary_defaults"],
507 srcs: [
508 "sign_target_files_apks.py",
509 ],
510 libs: [
511 "releasetools_add_img_to_target_files",
512 "releasetools_apex_utils",
513 "releasetools_common",
514 ],
515}
516
517python_binary_host {
518 name: "validate_target_files",
519 defaults: ["releasetools_binary_defaults"],
520 srcs: [
521 "validate_target_files.py",
522 ],
523 libs: [
524 "releasetools_common",
525 ],
526}
527
Jiyong Parkb92b8f42021-03-15 23:13:42 +0900528python_binary_host {
529 name: "verity_utils",
530 defaults: ["releasetools_binary_defaults"],
531 srcs: [
532 "verity_utils.py",
533 ],
534 libs: [
535 "releasetools_common",
536 ],
537 required: [
538 "append2simg",
539 "build_verity_metadata",
540 "build_verity_tree",
541 "fec",
542 ],
543}
544
Tao Bao3c7b2a62019-08-07 12:24:20 -0700545//
546// Tests.
547//
548
Tao Baoca82fc92019-05-01 21:58:03 -0700549python_defaults {
550 name: "releasetools_test_defaults",
Tao Bao30e31142019-04-09 00:12:30 -0700551 srcs: [
Tao Bao2bbb07c2019-05-07 13:12:21 -0700552 "check_ota_package_signature.py",
Yifan Hong3a7c2ef2019-11-01 18:23:19 +0000553 "check_partition_sizes.py",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700554 "check_target_files_signatures.py",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700555 "make_recovery_patch.py",
556 "merge_target_files.py",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700557 "ota_package_parser.py",
558 "sign_apex.py",
559 "sign_target_files_apks.py",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700560 "validate_target_files.py",
561
Tao Bao30e31142019-04-09 00:12:30 -0700562 "test_*.py",
563 ],
564 libs: [
Tao Bao3c7b2a62019-08-07 12:24:20 -0700565 "releasetools_add_img_to_target_files",
566 "releasetools_apex_utils",
567 "releasetools_build_image",
Tao Bao005305a2019-08-05 13:00:44 -0700568 "releasetools_build_super_image",
Yifan Hongccb86fe2019-08-22 15:52:26 -0700569 "releasetools_check_target_files_vintf",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700570 "releasetools_common",
Daniel Normanb8d52a22020-10-26 17:55:00 -0700571 "releasetools_find_shareduid_violation",
Tao Bao3c7b2a62019-08-07 12:24:20 -0700572 "releasetools_img_from_target_files",
573 "releasetools_ota_from_target_files",
Tao Bao2bbb07c2019-05-07 13:12:21 -0700574 "releasetools_verity_utils",
Tao Bao30e31142019-04-09 00:12:30 -0700575 ],
576 data: [
Yifan Hongccb86fe2019-08-22 15:52:26 -0700577 "testdata/**/*",
Mohammad Samiul Islam9fd58862021-01-06 13:33:25 +0000578 ":com.android.apex.compressed.v1",
579 ":com.android.apex.compressed.v1_original",
Tao Bao30e31142019-04-09 00:12:30 -0700580 ],
Yo Chiang096c5152020-08-07 04:22:18 +0000581 target: {
582 darwin: {
583 // libs dep "releasetools_ota_from_target_files" is disabled on darwin
584 enabled: false,
585 },
586 },
Mohammad Samiul Islam9fd58862021-01-06 13:33:25 +0000587 required: [
588 "deapexer",
589 ],
Tao Baoca82fc92019-05-01 21:58:03 -0700590}
591
592python_test_host {
593 name: "releasetools_test",
594 defaults: ["releasetools_test_defaults"],
595 main: "test_utils.py",
Cole Faustc76931f2021-11-04 16:59:39 -0700596 // Don't use embedded_launcher, atest will try (but may fail) to load libc++.so from
597 // host, because the test executable won't be able to find the needed libs via its
598 // runpath.
Julien Desprez6d9e78f2020-12-21 13:56:05 -0800599 test_options: {
600 unit_test: true,
601 },
Tao Bao30e31142019-04-09 00:12:30 -0700602}