Merge "bpf progs depend on system/core/libcutils/include" am: 3a15b8973d
Change-Id: I864a3ce3236c29b5313e769df4da58c5196551ee
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