Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a15b897 authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Gerrit Code Review
Browse files

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

parents 3be82c00 79f6f753
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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(),
	}
	}