Add runtime codec libs to fuzzer
The AIDL fuzzer attempts to dlopen all of these libraries, so we add
them to runtime_libs to make sure they are available on the device.
Test: adb shell LD_LIBRARY_PATH=/data/fuzz/x86_64/lib/
/data/fuzz/x86_64/libcodec2-aidl-fuzzer/vendor/libcodec2-aidl-fuzzer
Bug: 300195182
Change-Id: I1b266e1325e494b47108dd1b5507d07d28078fba
diff --git a/media/codec2/hal/aidl/Android.bp b/media/codec2/hal/aidl/Android.bp
index a6a6b77..21889b1 100644
--- a/media/codec2/hal/aidl/Android.bp
+++ b/media/codec2/hal/aidl/Android.bp
@@ -163,14 +163,10 @@
defaults: [
"libcodec2-aidl-defaults",
"service_fuzzer_defaults",
+ "libcodec2-runtime-libs",
],
shared_libs: [
"libcodec2_vndk",
-
- "libcodec2_soft_avcdec",
- "libcodec2_soft_avcenc",
- "libcodec2_soft_aacdec",
- "libcodec2_soft_aacenc",
],
fuzz_config: {
cc: [