Set apex_available property

The marked library(ies) were available to the APEXes via the
hand-written whitelist in build/soong/apex/apex.go. Trying to remove the
whitelist by adding apex_available property to the Android.bp of the
libraries.

Bug: 150999716
Test: m
Change-Id: Iba412563b8a56307d351fbbc5f64454ee9305b62
diff --git a/Android.bp b/Android.bp
index 0221ffc..4de1834 100644
--- a/Android.bp
+++ b/Android.bp
@@ -51,6 +51,12 @@
         "procmeminfo.cpp",
         "sysmeminfo.cpp",
     ],
+
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.art.release",
+        "com.android.art.debug",
+    ],
 }
 
 cc_test {
diff --git a/libdmabufinfo/Android.bp b/libdmabufinfo/Android.bp
index 70533ea..7c3d9c0 100644
--- a/libdmabufinfo/Android.bp
+++ b/libdmabufinfo/Android.bp
@@ -44,6 +44,12 @@
             enabled: false,
         },
     },
+
+    apex_available: [
+        "//apex_available:platform",
+        "com.android.art.release",
+        "com.android.art.debug",
+    ],
 }
 
 cc_test {