android_system_core/shell_and_utilities/Android.bp
Jihoon Kang 44eca61ab9 Replace partition-specific toybox make module with soong modules
toybox no longer sets recovery_available
property, thus this make module is no longer generated. Thus,
replace the entry with the soong modules to prevent missing
dependencies make error.

This change also specifies `recovery` property in
shell_and_utilities_recovery to allow soong generated recovery partition
to correctly install the dependencies of the phony module.

Test: m nothing
Bug: 381888358
Change-Id: I314e8031d23a9f579101ca1d5499969af4e3a9d3
2024-12-05 18:50:11 +00:00

73 lines
1.4 KiB
Text

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
phony {
name: "shell_and_utilities",
required: [
"shell_and_utilities_system",
"shell_and_utilities_recovery",
"shell_and_utilities_vendor",
],
}
phony {
name: "shell_and_utilities_system",
required: [
"auditctl",
"awk",
"bc",
"bzip2",
"cpu-target-features",
"fsck.exfat",
"ldd",
"logwrapper",
"mini-keyctl",
"mkfs.exfat",
"mkshrc",
"newfs_msdos",
"reboot",
"settaskprofile",
"sh",
"simpleperf",
"simpleperf_app_runner",
"tcpdump",
"toolbox",
"toybox",
"ziptool",
],
}
phony {
name: "shell_and_utilities_recovery",
required: [
"sh.recovery",
"toolbox.recovery",
"toybox_recovery",
"ziptool.recovery",
],
recovery: true,
}
phony {
name: "shell_and_utilities_vendor",
required: [
"awk_vendor",
"logwrapper_vendor",
"mkshrc_vendor",
"sh_vendor",
"toolbox_vendor",
"toybox_vendor",
],
vendor: true,
}
// shell and utilities for first stage console. The list of binaries are
// enough for debugging purposes.
phony {
name: "shell_and_utilities_vendor_ramdisk",
required: [
"sh.vendor_ramdisk",
"toybox.vendor_ramdisk",
],
}