Remove GCC-specific toolchain methods
Test: m Change-Id: I06442347ade2d60bc42131b3126ecc17840c9e31
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user