Allow the ART module to use "libc++fs".
This is used by odrefresh, which needs to do many filesystem
operations. It is only used as a static library.
Bug: 205276874
Test: m nothing
Change-Id: Id4cd9e2674d32b48ab82d88ac3acb93d37ca8627
diff --git a/Android.bp b/Android.bp
index 3a38980..bbb3d8d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -204,6 +204,13 @@
name: "libc++fs",
ramdisk_available: true,
recovery_available: true,
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.art",
+ "com.android.art.debug",
+ ],
+ // being part of updatable apexes, this should work on older releases
+ min_sdk_version: "apex_inherit",
defaults: ["libc++ defaults"],
srcs: [
"src/filesystem/directory_iterator.cpp",