summaryrefslogtreecommitdiff
path: root/bpf/bpf_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2019-05-13 13:35:45 -0700
committer Colin Cross <ccross@android.com> 2019-05-14 18:40:19 +0000
commit192e3aa6a86c486c976cdd8587d5700aeb304241 (patch)
tree571096be37a5fe50ddc1669b0f66c048cacfb677 /bpf/bpf_test.go
parente4948c79d38d91a3678c98e804b27de37e18adbf (diff)
Add bpf_test.go to build and fix the tests
bpf_test.go was not listed in testSrcs, which meant it was not run during the build, but ran and failed with go test android/soong/... Test: m Test: go test android/soong/... Change-Id: I4542640e8ff08e71565ed50617dbe67d86b29b69
Diffstat (limited to 'bpf/bpf_test.go')
-rw-r--r--bpf/bpf_test.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/bpf/bpf_test.go b/bpf/bpf_test.go
index 1d53e4138..2f492748c 100644
--- a/bpf/bpf_test.go
+++ b/bpf/bpf_test.go
@@ -91,6 +91,13 @@ func testContext(bp string) *android.TestContext {
src: "",
}
+ toolchain_library {
+ name: "libgcc_stripped",
+ vendor_available: true,
+ recovery_available: true,
+ src: "",
+ }
+
cc_library {
name: "libc",
no_libgcc: true,