summaryrefslogtreecommitdiff
path: root/bpf/bpf_test.go
diff options
context:
space:
mode:
author markchien <markchien@google.com> 2020-09-02 16:23:38 +0800
committer markchien <markchien@google.com> 2020-09-02 22:18:25 +0800
commit2f59ec98d16cb41d0e46e5662019032deaaeaac1 (patch)
tree703db0838e500c51b82bbcb858f98dd4d52a0e16 /bpf/bpf_test.go
parent6945e9b65042a722a6db399481799f11628cee47 (diff)
Include bpf program in APEXes
bpf program is put to an APEX via 'bpfs' property. It is placed under etc/bpf directory in it. Fix: 167530625 Test: m Change-Id: Ia36b486f0cffb619ecc4f7a318cde881abc5baf4
Diffstat (limited to 'bpf/bpf_test.go')
-rw-r--r--bpf/bpf_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpf/bpf_test.go b/bpf/bpf_test.go
index eeca05771..d06d7d1a5 100644
--- a/bpf/bpf_test.go
+++ b/bpf/bpf_test.go
@@ -59,7 +59,7 @@ func testConfig(buildDir string, env map[string]string, bp string) android.Confi
func testContext(config android.Config) *android.TestContext {
ctx := cc.CreateTestContext()
- ctx.RegisterModuleType("bpf", bpfFactory)
+ ctx.RegisterModuleType("bpf", BpfFactory)
ctx.Register(config)
return ctx