diff --git a/libprocinfo/Android.bp b/libprocinfo/Android.bp index 0c9a2b8a8..15b0d89d8 100644 --- a/libprocinfo/Android.bp +++ b/libprocinfo/Android.bp @@ -51,6 +51,12 @@ cc_library { enabled: false, }, }, + + apex_available: [ + "//apex_available:platform", + "com.android.art.debug", + "com.android.art.release", + ], } // Tests diff --git a/libunwindstack/Android.bp b/libunwindstack/Android.bp index 601904a40..3c44534d0 100644 --- a/libunwindstack/Android.bp +++ b/libunwindstack/Android.bp @@ -146,6 +146,12 @@ cc_library { exclude_shared_libs: ["libdexfile_support"], }, }, + + apex_available: [ + "//apex_available:platform", + "com.android.art.debug", + "com.android.art.release", + ], } // Static library without DEX support to avoid dependencies on the ART APEX. diff --git a/libziparchive/Android.bp b/libziparchive/Android.bp index 786e7b3d3..c5a968aac 100644 --- a/libziparchive/Android.bp +++ b/libziparchive/Android.bp @@ -111,6 +111,12 @@ cc_library { enabled: true, }, }, + + apex_available: [ + "//apex_available:platform", + "com.android.art.debug", + "com.android.art.release", + ], } // Tests.