From ef6e982e10a67967af2b26cc26353357da3fbd89 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Tue, 28 Nov 2023 22:37:39 +0900 Subject: [PATCH] Use libapexsupport only for apex variants Bug: 312510312 Test: m libhardware libhardware.vendor libhardware.vendor.com.google.cf.ir # check DTNEEDED # only apex variant should have libapexsupport Change-Id: I3161b54aeb9dd6c5780041769fa149302c621279 --- Android.bp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Android.bp b/Android.bp index ee61635c..d9e0694a 100644 --- a/Android.bp +++ b/Android.bp @@ -126,6 +126,11 @@ cc_library_shared { "libvndksupport", ], }, + non_apex: { + exclude_shared_libs: [ + "libapexsupport", + ], + }, }, min_sdk_version: "29", }