summaryrefslogtreecommitdiff
path: root/ui/build/paths/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/build/paths/config.go')
-rw-r--r--ui/build/paths/config.go78
1 files changed, 74 insertions, 4 deletions
diff --git a/ui/build/paths/config.go b/ui/build/paths/config.go
index 81c500d2b..5f8e313cb 100644
--- a/ui/build/paths/config.go
+++ b/ui/build/paths/config.go
@@ -74,6 +74,12 @@ func GetConfig(name string) PathConfig {
}
var Configuration = map[string]PathConfig{
+ "aarch64-linux-android-ar": Log,
+ "aarch64-linux-android-gcc": Log,
+ "aarch64-linux-android-ld": Log,
+ "aarch64-linux-android-nm": Log,
+ "aarch64-linux-android-objcopy": Log,
+ "aarch64-linux-android-objdump": Log,
"bash": Allowed,
"dd": Allowed,
"diff": Allowed,
@@ -88,6 +94,8 @@ var Configuration = map[string]PathConfig{
"javap": Allowed,
"lsof": Allowed,
"openssl": Allowed,
+ "perl": Log,
+ "printf": Log,
"pstree": Allowed,
"rsync": Allowed,
"sh": Allowed,
@@ -109,10 +117,72 @@ var Configuration = map[string]PathConfig{
"ld.gold": Forbidden,
"pkg-config": Forbidden,
- // These are toybox tools that only work on Linux.
- "pgrep": LinuxOnlyPrebuilt,
- "pkill": LinuxOnlyPrebuilt,
- "ps": LinuxOnlyPrebuilt,
+ // On Linux we'll use the toybox versions of these instead.
+ "basename": LinuxOnlyPrebuilt,
+ "cat": LinuxOnlyPrebuilt,
+ "chmod": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "cmp": Log,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "cp": Log,
+ "comm": LinuxOnlyPrebuilt,
+ "cut": LinuxOnlyPrebuilt,
+ "date": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "dirname": Log,
+ "du": LinuxOnlyPrebuilt,
+ "echo": LinuxOnlyPrebuilt,
+ "egrep": LinuxOnlyPrebuilt,
+ "env": LinuxOnlyPrebuilt,
+ "getconf": LinuxOnlyPrebuilt,
+ "grep": LinuxOnlyPrebuilt,
+ "head": LinuxOnlyPrebuilt,
+ "hostname": LinuxOnlyPrebuilt,
+ "id": LinuxOnlyPrebuilt,
+ "ln": LinuxOnlyPrebuilt,
+ "ls": LinuxOnlyPrebuilt,
+ "md5sum": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "mkdir": Log,
+ "mktemp": LinuxOnlyPrebuilt,
+ "mv": LinuxOnlyPrebuilt,
+ "od": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "paste": Log,
+ "pgrep": LinuxOnlyPrebuilt,
+ "pkill": LinuxOnlyPrebuilt,
+ "ps": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "pwd": Log,
+ "readlink": LinuxOnlyPrebuilt,
+ "rm": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "rmdir": Log,
+ "sed": LinuxOnlyPrebuilt,
+ "seq": LinuxOnlyPrebuilt,
+ "setsid": LinuxOnlyPrebuilt,
+ "sha1sum": LinuxOnlyPrebuilt,
+ "sha256sum": LinuxOnlyPrebuilt,
+ "sha512sum": LinuxOnlyPrebuilt,
+ "sleep": LinuxOnlyPrebuilt,
+ "sort": LinuxOnlyPrebuilt,
+ "stat": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "tail": Log,
+ "tar": LinuxOnlyPrebuilt,
+ "tee": LinuxOnlyPrebuilt,
+ "timeout": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "touch": Log,
+ "true": LinuxOnlyPrebuilt,
+ "uname": LinuxOnlyPrebuilt,
+ "uniq": LinuxOnlyPrebuilt,
+ "unix2dos": LinuxOnlyPrebuilt,
+ "wc": LinuxOnlyPrebuilt,
+ "whoami": LinuxOnlyPrebuilt,
+ "which": LinuxOnlyPrebuilt,
+ // TODO (b/121282416): switch back to LinuxOnlyPrebuilt when build is hermetic
+ "xxd": Log,
}
func init() {