apex: add libcodec2_hidl@1.x to native_shared_libs
libcodec2_hidl@1.x has apex variants which exclude
libcodec2_hidl_plugin* dependencies
Bug: 160259947
Bug: 180693185
Bug: 180700897
Test: mediaswcodec works in devices w/ flattened apex
Change-Id: I9f38d4f7556f9f900a5c68f4e3d409a23f6538d9
diff --git a/apex/Android.bp b/apex/Android.bp
index d198be0..aacb9a8 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -105,6 +105,8 @@
"mediaswcodec",
],
native_shared_libs: [
+ "libcodec2_hidl@1.0",
+ "libcodec2_hidl@1.1",
"libstagefright_foundation",
],
prebuilts: [