Merge "[NETD-BPF#34] Add a tag for bpf to specify the install folder"

This commit is contained in:
Treehugger Robot
2022-01-19 09:41:57 +00:00
committed by Gerrit Code Review
3 changed files with 25 additions and 5 deletions

View File

@@ -623,7 +623,7 @@ func TestDefaults(t *testing.T) {
java_libs: ["myjar"],
apps: ["AppFoo"],
rros: ["rro"],
bpfs: ["bpf"],
bpfs: ["bpf", "netd_test"],
updatable: false,
}
@@ -676,6 +676,12 @@ func TestDefaults(t *testing.T) {
srcs: ["bpf.c", "bpf2.c"],
}
bpf {
name: "netd_test",
srcs: ["netd_test.c"],
sub_dir: "netd",
}
`)
ensureExactContents(t, ctx, "myapex", "android_common_myapex_image", []string{
"etc/myetc",
@@ -685,6 +691,7 @@ func TestDefaults(t *testing.T) {
"overlay/blue/rro.apk",
"etc/bpf/bpf.o",
"etc/bpf/bpf2.o",
"etc/bpf/netd/netd_test.o",
})
}