| cc_binary { |
| name: "vendor.google.media.c2@1.0-service", |
| defaults: ["hidl_defaults"], |
| soc_specific: true, |
| relative_install_path: "hw", |
| srcs: [ |
| "vendor.cpp", |
| ], |
| |
| init_rc: ["vendor.google.media.c2@1.0-service.rc"], |
| |
| shared_libs: [ |
| "vendor.google.media.c2@1.0", |
| "libavservices_minijail_vendor", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libstagefright_codec2_hidl@1.0", |
| "libstagefright_codec2_vndk", |
| "libutils", |
| ], |
| |
| arch: { |
| arm: { |
| required: ["codec2.vendor.base.policy"], |
| }, |
| x86: { |
| required: ["codec2.vendor.base.policy"], |
| }, |
| }, |
| |
| compile_multilib: "32", |
| } |
| |
| cc_binary { |
| name: "vendor.google.media.c2@1.0-service-system", |
| defaults: ["hidl_defaults"], |
| relative_install_path: "hw", |
| srcs: [ |
| "system.cpp", |
| ], |
| |
| init_rc: ["vendor.google.media.c2@1.0-service-system.rc"], |
| |
| shared_libs: [ |
| "vendor.google.media.c2@1.0", |
| "libavservices_minijail", |
| "libcutils", |
| "libhidlbase", |
| "libhidltransport", |
| "libhwbinder", |
| "liblog", |
| "libstagefright_codec2_hidl@1.0", |
| "libstagefright_codec2_vndk", |
| "libutils", |
| "libv4l2_c2componentstore", |
| ], |
| |
| arch: { |
| arm: { |
| required: ["codec2.system.base.policy"], |
| }, |
| x86: { |
| required: ["codec2.system.base.policy"], |
| }, |
| }, |
| |
| required: [ |
| "libstagefright_soft_c2avcdec", |
| "libstagefright_soft_c2avcenc", |
| "libstagefright_soft_c2aacdec", |
| "libstagefright_soft_c2aacenc", |
| "libstagefright_soft_c2amrnbdec", |
| "libstagefright_soft_c2amrnbenc", |
| "libstagefright_soft_c2amrwbdec", |
| "libstagefright_soft_c2amrwbenc", |
| "libstagefright_soft_c2hevcdec", |
| "libstagefright_soft_c2g711alawdec", |
| "libstagefright_soft_c2g711mlawdec", |
| "libstagefright_soft_c2mpeg2dec", |
| "libstagefright_soft_c2h263dec", |
| "libstagefright_soft_c2h263enc", |
| "libstagefright_soft_c2mpeg4dec", |
| "libstagefright_soft_c2mpeg4enc", |
| "libstagefright_soft_c2mp3dec", |
| "libstagefright_soft_c2vorbisdec", |
| "libstagefright_soft_c2opusdec", |
| "libstagefright_soft_c2vp8dec", |
| "libstagefright_soft_c2vp9dec", |
| "libstagefright_soft_c2vp8enc", |
| "libstagefright_soft_c2vp9enc", |
| "libstagefright_soft_c2rawdec", |
| "libstagefright_soft_c2flacdec", |
| "libstagefright_soft_c2flacenc", |
| "libstagefright_soft_c2gsmdec", |
| ], |
| |
| compile_multilib: "32", |
| } |
| |