Use prebuilt awk on Darwin too
Test: build on mac Change-Id: I25d21c0df0b9023d6c43b11dde60e6066f107576
This commit is contained in:
@@ -149,10 +149,8 @@ func SetupPath(ctx Context, config Config) {
|
||||
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user