bpf progs depend on system/core/libcutils/include
Test: build, atest Bug: 149434314 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I070bc147abe43556d66082e19c16214ae6a9f94b
This commit is contained in:
@@ -66,6 +66,8 @@ func (bpf *bpf) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||||||
// The architecture doesn't matter here, but asm/types.h is included by linux/types.h.
|
// 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/uapi/asm-arm64",
|
||||||
"-isystem bionic/libc/kernel/android/uapi",
|
"-isystem bionic/libc/kernel/android/uapi",
|
||||||
|
// TODO(b/149785767): only give access to specific file with AID_* constants
|
||||||
|
"-I system/core/libcutils/include",
|
||||||
"-I system/bpf/progs/include",
|
"-I system/bpf/progs/include",
|
||||||
"-I " + ctx.ModuleDir(),
|
"-I " + ctx.ModuleDir(),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user