xref: /aosp_15_r20/system/core/shell_and_utilities/Android.bp (revision 00c7fec1bb09f3284aad6a6f96d2f63dfc3650ad)
1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5phony {
6    name: "shell_and_utilities",
7    required: [
8        "shell_and_utilities_system",
9        "shell_and_utilities_recovery",
10        "shell_and_utilities_vendor",
11    ],
12}
13
14phony {
15    name: "shell_and_utilities_system",
16    required: [
17        "auditctl",
18        "awk",
19        "bc",
20        "bzip2",
21        "cpu-target-features",
22        "fsck.exfat",
23        "ldd",
24        "logwrapper",
25        "mini-keyctl",
26        "mkfs.exfat",
27        "mkshrc",
28        "newfs_msdos",
29        "reboot",
30        "settaskprofile",
31        "sh",
32        "simpleperf",
33        "simpleperf_app_runner",
34        "tcpdump",
35        "toolbox",
36        "toybox",
37        "ziptool",
38    ],
39}
40
41phony {
42    name: "shell_and_utilities_recovery",
43    required: [
44        "sh.recovery",
45        "toolbox.recovery",
46        "toybox_recovery",
47        "ziptool.recovery",
48    ],
49    recovery: true,
50}
51
52phony {
53    name: "shell_and_utilities_vendor",
54    required: [
55        "awk_vendor",
56        "logwrapper_vendor",
57        "mkshrc_vendor",
58        "sh_vendor",
59        "toolbox_vendor",
60        "toybox_vendor",
61    ],
62    vendor: true,
63}
64
65// shell and utilities for first stage console. The list of binaries are
66// enough for debugging purposes.
67phony {
68    name: "shell_and_utilities_vendor_ramdisk",
69    required: [
70        "sh.vendor_ramdisk",
71        "toybox.vendor_ramdisk",
72    ],
73}
74