From 79f6f7533248aa3595e41e6d0a4a37f5434519c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Tue, 18 Feb 2020 15:38:36 -0800 Subject: bpf progs depend on system/core/libcutils/include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test: build, atest Bug: 149434314 Signed-off-by: Maciej Żenczykowski Change-Id: I070bc147abe43556d66082e19c16214ae6a9f94b --- bpf/bpf.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bpf') diff --git a/bpf/bpf.go b/bpf/bpf.go index 1d792ef1..59d1502f 100644 --- a/bpf/bpf.go +++ b/bpf/bpf.go @@ -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(), } -- cgit v1.2.3