Use prebuilt awk on Darwin too
Test: build on mac
Change-Id: I25d21c0df0b9023d6c43b11dde60e6066f107576
diff --git a/ui/build/path.go b/ui/build/path.go
index 5294133..0e1c02c 100644
--- a/ui/build/path.go
+++ b/ui/build/path.go
@@ -149,10 +149,8 @@
// We put some prebuilts in $PATH, since it's infeasible to add dependencies for all of
// them.
- if runtime.GOOS == "linux" {
- prebuiltsPath, _ := filepath.Abs("prebuilts/build-tools/path/" + runtime.GOOS + "-x86")
- myPath = prebuiltsPath + string(os.PathListSeparator) + myPath
- }
+ prebuiltsPath, _ := filepath.Abs("prebuilts/build-tools/path/" + runtime.GOOS + "-x86")
+ myPath = prebuiltsPath + string(os.PathListSeparator) + myPath
config.Environment().Set("PATH", myPath)
config.pathReplaced = true