Merge "Always build awk." am: 919887ebd3 am: d11a642bd0

am: a471c4d9a1

Change-Id: I147ed04bde78be2863b3cde9c0ef50f227e7f9c9
This commit is contained in:
Elliott Hughes 2017-12-04 20:55:44 +00:00 committed by android-build-merger
commit 2da2a2e371
2 changed files with 30 additions and 1 deletions

View File

@ -1,6 +1,8 @@
phony {
name: "shell_and_utilities",
required: [
"awk",
"awk_vendor",
"bzip2",
"grep",
"grep_vendor",

View File

@ -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