android_system_core/shell_and_utilities/Android.bp
Suren Baghdasaryan d48d7c8150 libprocessgroup/tools: Add settaskprofile command-line tool
Add a command-line tool to apply task profile(s) to a given thread.

Test: taskprofile $pid ProcessCapacityHigh; grep cpuset /proc/$pid/cgroup
Test: taskprofile $pid ProcessCapacityNormal; grep cpuset /proc/$pid/cgroup
Bug: 204808810
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I1c13731f7a9a1161f36e27436ee104964aacbfd0
2021-11-09 22:35:51 +00:00

70 lines
1.3 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",
"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",
],
}
// 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",
],
}