Loading bpf/bpf.go +2 −0 Original line number Original line Diff line number Diff line Loading @@ -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(), } } Loading Loading
bpf/bpf.go +2 −0 Original line number Original line Diff line number Diff line Loading @@ -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(), } } Loading