bpf.go: adjust for p/m/C change to location of bpf headers

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Id08dba160d2296581d6b41ade3e464b9bfe74540
This commit is contained in:
Maciej Żenczykowski
2024-08-19 16:18:52 -07:00
parent fed2be9f98
commit 57af33927f

View File

@@ -157,7 +157,7 @@ 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",
"-I packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf",
"-I packages/modules/Connectivity/bpf/headers/include",
// TODO(b/149785767): only give access to specific file with AID_* constants
"-I system/core/libcutils/include",
"-I " + ctx.ModuleDir(),