diff options
author | 2021-12-20 18:22:55 +0800 | |
---|---|---|
committer | 2021-12-23 10:00:58 +0800 | |
commit | fd26444abdf967390ddfa1bf7496ae5f62daa320 (patch) | |
tree | d384dd9dfb3dbe1011f81074d2c5a897e066063e /bpf | |
parent | 1778546f7a861884e83b4d1593c8e5ea796fd708 (diff) |
[NETD-BPF#21] Move a few headers to frameworks/libs/net
BPF headers used by both platform and mainline modules should be in
frameworks/libs/net.
Bug: 202086915
Test: build and boot
Test: cd packages/modules/Connectivity/netd; atest
Change-Id: I5a86ccd44a673a18138201f186b104f5214fd449
Diffstat (limited to 'bpf')
-rw-r--r-- | bpf/bpf.go | 1 |
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", |