[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
This commit is contained in:
@@ -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",
|
||||
|
Reference in New Issue
Block a user