summaryrefslogtreecommitdiff
path: root/cc/compiler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/compiler_test.go')
-rw-r--r--cc/compiler_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/compiler_test.go b/cc/compiler_test.go
index a3ee4a616..9ae4d1859 100644
--- a/cc/compiler_test.go
+++ b/cc/compiler_test.go
@@ -16,6 +16,8 @@ package cc
import (
"testing"
+
+ "android/soong/android"
)
func TestIsThirdParty(t *testing.T) {
@@ -32,12 +34,12 @@ func TestIsThirdParty(t *testing.T) {
"bionic/libc",
}
for _, path := range thirdPartyPaths {
- if !isThirdParty(path) {
+ if !android.IsThirdPartyPath(path) {
t.Errorf("Expected %s to be considered third party", path)
}
}
for _, path := range nonThirdPartyPaths {
- if isThirdParty(path) {
+ if android.IsThirdPartyPath(path) {
t.Errorf("Expected %s to *not* be considered third party", path)
}
}