1cc_binary { 2 name: "hardware.google.media.c2@1.0-service", 3 defaults: ["hidl_defaults"], 4 soc_specific: true, 5 relative_install_path: "hw", 6 srcs: [ 7 "vendor.cpp", 8 ], 9 10 init_rc: ["hardware.google.media.c2@1.0-service.rc"], 11 12 shared_libs: [ 13 "android.hardware.media.omx@1.0", 14 "hardware.google.media.c2@1.0", 15 "libavservices_minijail_vendor", 16 "libbinder", 17 "libcodec2_hidl_utils@1.0", 18 "libhidlbase", 19 "libhidltransport", 20 "libhwbinder", 21 "liblog", 22 "libstagefright_codec2_vndk", 23 "libstagefright_omx", 24 "libstagefright_xmlparser", 25 "libutils", 26 ], 27 28 arch: { 29 arm: { 30 required: ["codec2.vendor.base.policy"], 31 }, 32 x86: { 33 required: ["codec2.vendor.base.policy"], 34 }, 35 }, 36 37 compile_multilib: "32", 38} 39 40cc_library_shared { 41 name: "libcodec2_serviceregistrant", 42 // need vendor version for update packaging, system version may have more dependencies 43 vendor_available: true, 44 srcs: [ 45 "C2SoftwareCodecServiceRegistrant.cpp", 46 ], 47 48 header_libs: [ 49 "libmedia_headers", 50 ], 51 52 shared_libs: [ 53 "hardware.google.media.c2@1.0", 54 "liblog", 55 "libcodec2_hidl_utils@1.0", 56 "libstagefright_codec2_vndk", 57 "libutils", 58 ], 59 60 // Codecs 61 runtime_libs: [ 62 "libstagefright_soft_c2avcdec", 63 "libstagefright_soft_c2avcenc", 64 "libstagefright_soft_c2aacdec", 65 "libstagefright_soft_c2aacenc", 66 "libstagefright_soft_c2amrnbdec", 67 "libstagefright_soft_c2amrnbenc", 68 "libstagefright_soft_c2amrwbdec", 69 "libstagefright_soft_c2amrwbenc", 70 "libstagefright_soft_c2hevcdec", 71 "libstagefright_soft_c2g711alawdec", 72 "libstagefright_soft_c2g711mlawdec", 73 "libstagefright_soft_c2mpeg2dec", 74 "libstagefright_soft_c2h263dec", 75 "libstagefright_soft_c2h263enc", 76 "libstagefright_soft_c2mpeg4dec", 77 "libstagefright_soft_c2mpeg4enc", 78 "libstagefright_soft_c2mp3dec", 79 "libstagefright_soft_c2vorbisdec", 80 "libstagefright_soft_c2opusdec", 81 "libstagefright_soft_c2vp8dec", 82 "libstagefright_soft_c2vp9dec", 83 "libstagefright_soft_c2vp8enc", 84 "libstagefright_soft_c2vp9enc", 85 "libstagefright_soft_c2rawdec", 86 "libstagefright_soft_c2flacdec", 87 "libstagefright_soft_c2flacenc", 88 "libstagefright_soft_c2gsmdec", 89 "libstagefright_soft_c2xaacdec", 90 ], 91 92 compile_multilib: "32", 93} 94 95