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
This commit is contained in:
Jooyung Han 2023-11-28 22:37:39 +09:00
parent 6e5271930f
commit ef6e982e10

View file

@ -126,6 +126,11 @@ cc_library_shared {
"libvndksupport",
],
},
non_apex: {
exclude_shared_libs: [
"libapexsupport",
],
},
},
min_sdk_version: "29",
}