Merge "Use libapexsupport only for apex variants" into main am: 74c341f86f

Original change: https://android-review.googlesource.com/c/platform/hardware/libhardware/+/2849656

Change-Id: I8f80a193c156dd0b2ed355a42eb837297d081d28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index ee61635..d9e0694 100644
--- a/Android.bp
+++ b/Android.bp
@@ -126,6 +126,11 @@
                 "libvndksupport",
             ],
         },
+        non_apex: {
+            exclude_shared_libs: [
+                "libapexsupport",
+            ],
+        },
     },
     min_sdk_version: "29",
 }