summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2022-01-04 22:49:13 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-01-04 22:49:13 +0000
commitd4965d411c54cfd8f0f0f22a06db4d942d22db3c (patch)
treec0c87f7a974abe7f1e71a6798e81a83545b39367
parentfad1a988227032011f98b616d3b770e7bc018306 (diff)
parent96ad98b40ec0b1298b345bd5fecb3e09f573febf (diff)
Merge "[NETD-BPF#21] Move a few headers to frameworks/libs/net" into sc-mainline-prod
-rw-r--r--bpf/bpf.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bpf/bpf.go b/bpf/bpf.go
index fa1a84d04..0eab88fa9 100644
--- a/bpf/bpf.go
+++ b/bpf/bpf.go
@@ -83,6 +83,7 @@ func (bpf *bpf) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// The architecture doesn't matter here, but asm/types.h is included by linux/types.h.
"-isystem bionic/libc/kernel/uapi/asm-arm64",
"-isystem bionic/libc/kernel/android/uapi",
+ "-I frameworks/libs/net/common/native/bpf_headers/include/bpf",
// TODO(b/149785767): only give access to specific file with AID_* constants
"-I system/core/libcutils/include",
"-I system/bpf/progs/include",