Remove GCC-specific toolchain methods

Test: m
Change-Id: I06442347ade2d60bc42131b3126ecc17840c9e31
This commit is contained in:
Dan Willemsen
2018-10-07 21:06:36 -07:00
parent 6afcd9aab9
commit bd4abf5dfc
12 changed files with 14 additions and 358 deletions

View File

@@ -15,7 +15,6 @@
package config
import (
"fmt"
"runtime"
"strings"
@@ -250,10 +249,3 @@ func bionicHeaders(kernelArch string) string {
"-isystem bionic/libc/kernel/android/uapi",
}, " ")
}
func replaceFirst(slice []string, from, to string) {
if slice[0] != from {
panic(fmt.Errorf("Expected %q, found %q", from, to))
}
slice[0] = to
}