From a11e698749657e99ffb24d982aff5cc24ac6762c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Wed, 9 Feb 2022 22:21:41 -0800 Subject: [PATCH] expose bpf_syscall_wrappers to art apex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The art apex already has access to bpf_headers which includes bpf_syscall_wrappers, but this extra line is needed to switch it away from needlessly linking libbpf_android. Since these are header files only, this annotation is kind of pointless, but it does turn out to be needed... Test: TreeHugger Signed-off-by: Maciej Żenczykowski Change-Id: I9e4d3373cea488080304e31ed7c8708aec988933 --- staticlibs/native/bpf_syscall_wrappers/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/staticlibs/native/bpf_syscall_wrappers/Android.bp b/staticlibs/native/bpf_syscall_wrappers/Android.bp index 2d7277fed3..f41a2446fe 100644 --- a/staticlibs/native/bpf_syscall_wrappers/Android.bp +++ b/staticlibs/native/bpf_syscall_wrappers/Android.bp @@ -30,6 +30,7 @@ cc_library_headers { min_sdk_version: "30", apex_available: [ "//apex_available:platform", + "com.android.art.debug", "com.android.mediaprovider", "com.android.tethering", ],