Merge "Soong: libbpf_prog: Define ENABLE_LIBBPF" into main

This commit is contained in:
Neill Kapron 2024-11-22 21:27:40 +00:00 committed by Gerrit Code Review
commit 1a6f176ce0

View file

@ -158,7 +158,8 @@ func (libbpf *libbpfProg) GenerateAndroidBuildActions(ctx android.ModuleContext)
"-Wall",
"-Werror",
"-Wextra",
// Flag to assist with the transition to libbpf
"-DENABLE_LIBBPF",
"-isystem bionic/libc/include",
"-isystem bionic/libc/kernel/uapi",
// The architecture doesn't matter here, but asm/types.h is included by linux/types.h.