diff --git a/shell_and_utilities/Android.bp b/shell_and_utilities/Android.bp index 9620d6353..4203db494 100644 --- a/shell_and_utilities/Android.bp +++ b/shell_and_utilities/Android.bp @@ -1,6 +1,8 @@ phony { name: "shell_and_utilities", required: [ + "awk", + "awk_vendor", "bzip2", "grep", "grep_vendor", diff --git a/shell_and_utilities/README.md b/shell_and_utilities/README.md index c4e8aac91..206204bae 100644 --- a/shell_and_utilities/README.md +++ b/shell_and_utilities/README.md @@ -21,7 +21,8 @@ in Marshmallow we changed direction and started the move to toybox. Not everything is provided by toybox, though. We currently still use the BSD dd and grep (because the toybox versions are still unfinished), and for the bzip2 command-line tools we use the ones that are part of -the bzip2 distribution. +the bzip2 distribution. The awk added in Android P is Brian Kernighan's +"one true" awk. The lists below show what tools were provided and where they came from in each release starting with Gingerbread. This doesn't tell the full story, @@ -164,3 +165,29 @@ sha512sum sleep sort split start stat stop strings swapoff swapon sync sysctl tac tail tar taskset tee time timeout top touch tr true truncate tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode vmstat wc which whoami xargs xxd yes zcat + +Android P +--------- + +BSD: dd grep + +bzip2: bzcat bzip2 bunzip2 + +one-true-awk: awk + +toolbox: getevent newfs\_msdos + +toybox: acpi base64 basename blockdev cal cat chcon chgrp chmod chown +chroot chrt cksum clear cmp comm cp cpio cut date df diff dirname dmesg +dos2unix du echo env expand expr fallocate false file find flock free +getenforce getprop groups gunzip gzip head hostname hwclock id ifconfig +inotifyd insmod ionice iorenice kill killall ln load\_policy log logname +losetup ls lsmod lsof lspci lsusb md5sum microcom mkdir mkfifo mknod +mkswap mktemp modinfo modprobe more mount mountpoint mv netstat nice +nl nohup od paste patch pgrep pidof pkill pmap printenv printf ps pwd +readlink realpath renice restorecon rm rmdir rmmod runcon sed sendevent +seq setenforce setprop setsid sha1sum sha224sum sha256sum sha384sum +sha512sum sleep sort split start stat stop strings swapoff swapon sync +sysctl tac tail tar taskset tee time timeout top touch tr true truncate +tty ulimit umount uname uniq unix2dos uptime usleep uudecode uuencode +vmstat wc which whoami xargs xxd yes zcat