Mark libmedia_datasource_headers available to platform
The lib is indirectly depended on by mediaextractor and some more that
are part of the platform. One of the dependency chains is extractractor
-> libmediaextractorservice -> libstagefright -> ligstagefright_id3 ->
libmedia_datasource_headers.
With b/153073816, we will be checking the availability to the platform,
i.e. platform-available module depending on platform-unavailable module
causes a build error.
Prepare for the change by correctly marking that this interface lib is
available to the platform.
Bug: 153073816
Test: m
Change-Id: Id7bc146cb4712fc1b2d5c00666ad3750b9663295
diff --git a/media/libmedia/Android.bp b/media/libmedia/Android.bp
index 6a8f981..f930a54 100644
--- a/media/libmedia/Android.bp
+++ b/media/libmedia/Android.bp
@@ -24,7 +24,10 @@
enabled: false,
},
},
- apex_available: ["com.android.media"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.media",
+ ],
}
filegroup {