Merge "bpf progs depend on system/core/libcutils/include"

This commit is contained in:
Maciej Żenczykowski 2020-02-20 16:31:31 +00:00 committed by Gerrit Code Review
commit 3a15b8973d
1 changed files with 2 additions and 0 deletions

View File

@ -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.
"-isystem bionic/libc/kernel/uapi/asm-arm64",
"-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 " + ctx.ModuleDir(),
}