summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ken Chen <cken@google.com> 2021-12-23 16:35:19 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-12-23 16:35:19 +0000
commit88b80698ae1833d6453826ee6b8dfbf5b200f85c (patch)
treeffad161ba3a4197b3e703ac1ecc205ade2cdf520
parent37d0a5790a9661714b33eaad5fcb546e9cd22b46 (diff)
parentfd26444abdf967390ddfa1bf7496ae5f62daa320 (diff)
Merge "[NETD-BPF#21] Move a few headers to frameworks/libs/net"
-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",