Add bpf_test.go to build and fix the tests

am: 192e3aa6a8

Change-Id: If8425dc910c3d5cf505364f892cbc7dcbfdfb2d0
This commit is contained in:
Colin Cross
2019-05-14 15:08:10 -07:00
committed by android-build-merger
2 changed files with 11 additions and 0 deletions

View File

@@ -21,10 +21,14 @@ bootstrap_go_package {
"blueprint",
"blueprint-proptools",
"soong-android",
"soong-cc",
"soong-cc-config",
],
srcs: [
"bpf.go",
],
testSrcs: [
"bpf_test.go",
],
pluginFor: ["soong_build"],
}

View File

@@ -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,