android_system_core/shell_and_utilities/Android.bp
Spandan Das 5331393cb1 Mark the phony shell_and_utilities_vendor as vendor: true
As part of the make to soong conversion, we are currently autogenerating
android_filesystem soong modules for each partition (system, system_ext,
vendor, ...), with the goal to eventually substitute the kati built
partitions. In order to generate the deps of these partitions, we are
currently using a heuristic to classify the modules in
`PRODUCT_PACKAGES` with the associated partition.

Mark the phony module `shell_and_utilities_vendor` as
`vendor: true` to help with this conversion heursitic.

Bug: 374371755
Test: verified that /bin/awk is present in the autogenerated soong-built
vendor partition

Change-Id: I0a99275fb03fbb9adeb1502734759f433585ef25
2024-10-21 22:04:20 +00:00

72 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",
],
}
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",
],
}