Pawin Vongmasa | 20c40b3 | 2018-02-26 16:27:02 -0800 | [diff] [blame^] | 1 | cc_binary { |
| 2 | name: "vendor.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: ["vendor.google.media.c2@1.0-service.rc"], |
| 11 | |
| 12 | shared_libs: [ |
| 13 | "vendor.google.media.c2@1.0", |
| 14 | "libavservices_minijail_vendor", |
| 15 | "libhidlbase", |
| 16 | "libhidltransport", |
| 17 | "libhwbinder", |
| 18 | "liblog", |
| 19 | "libstagefright_codec2_hidl@1.0", |
| 20 | "libstagefright_codec2_vndk", |
| 21 | "libutils", |
| 22 | ], |
| 23 | |
| 24 | arch: { |
| 25 | arm: { |
| 26 | required: ["codec2.vendor.base.policy"], |
| 27 | }, |
| 28 | x86: { |
| 29 | required: ["codec2.vendor.base.policy"], |
| 30 | }, |
| 31 | }, |
| 32 | |
| 33 | compile_multilib: "32", |
| 34 | } |
| 35 | |
| 36 | cc_binary { |
| 37 | name: "vendor.google.media.c2@1.0-service-system", |
| 38 | defaults: ["hidl_defaults"], |
| 39 | relative_install_path: "hw", |
| 40 | srcs: [ |
| 41 | "system.cpp", |
| 42 | ], |
| 43 | |
| 44 | init_rc: ["vendor.google.media.c2@1.0-service-system.rc"], |
| 45 | |
| 46 | shared_libs: [ |
| 47 | "vendor.google.media.c2@1.0", |
| 48 | "libavservices_minijail", |
| 49 | "libcutils", |
| 50 | "libhidlbase", |
| 51 | "libhidltransport", |
| 52 | "libhwbinder", |
| 53 | "liblog", |
| 54 | "libstagefright_codec2_hidl@1.0", |
| 55 | "libstagefright_codec2_vndk", |
| 56 | "libutils", |
| 57 | "libv4l2_c2componentstore", |
| 58 | ], |
| 59 | |
| 60 | arch: { |
| 61 | arm: { |
| 62 | required: ["codec2.system.base.policy"], |
| 63 | }, |
| 64 | x86: { |
| 65 | required: ["codec2.system.base.policy"], |
| 66 | }, |
| 67 | }, |
| 68 | |
| 69 | required: [ |
| 70 | "libstagefright_soft_c2avcdec", |
| 71 | "libstagefright_soft_c2avcenc", |
| 72 | "libstagefright_soft_c2aacdec", |
| 73 | "libstagefright_soft_c2aacenc", |
| 74 | "libstagefright_soft_c2amrnbdec", |
| 75 | "libstagefright_soft_c2amrnbenc", |
| 76 | "libstagefright_soft_c2amrwbdec", |
| 77 | "libstagefright_soft_c2amrwbenc", |
| 78 | "libstagefright_soft_c2hevcdec", |
| 79 | "libstagefright_soft_c2g711alawdec", |
| 80 | "libstagefright_soft_c2g711mlawdec", |
| 81 | "libstagefright_soft_c2mpeg2dec", |
| 82 | "libstagefright_soft_c2h263dec", |
| 83 | "libstagefright_soft_c2h263enc", |
| 84 | "libstagefright_soft_c2mpeg4dec", |
| 85 | "libstagefright_soft_c2mpeg4enc", |
| 86 | "libstagefright_soft_c2mp3dec", |
| 87 | "libstagefright_soft_c2vorbisdec", |
| 88 | "libstagefright_soft_c2opusdec", |
| 89 | "libstagefright_soft_c2vp8dec", |
| 90 | "libstagefright_soft_c2vp9dec", |
| 91 | "libstagefright_soft_c2vp8enc", |
| 92 | "libstagefright_soft_c2vp9enc", |
| 93 | "libstagefright_soft_c2rawdec", |
| 94 | "libstagefright_soft_c2flacdec", |
| 95 | "libstagefright_soft_c2flacenc", |
| 96 | "libstagefright_soft_c2gsmdec", |
| 97 | ], |
| 98 | |
| 99 | compile_multilib: "32", |
| 100 | } |
| 101 | |