• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "libcutils",
19        "libhidlbase",
20        "libhidltransport",
21        "libhwbinder",
22        "liblog",
23        "libstagefright_codec2_vndk",
24        "libstagefright_omx",
25        "libstagefright_xmlparser",
26        "libutils",
27        "libv4l2_c2componentstore",
28    ],
29
30    arch: {
31        arm: {
32            required: ["codec2.vendor.base.policy"],
33        },
34        x86: {
35            required: ["codec2.vendor.base.policy"],
36        },
37    },
38
39    compile_multilib: "32",
40}
41
42cc_library_shared {
43    name: "libmedia_codecserviceregistrant",
44    soc_specific: true,
45    srcs: [
46        "C2SoftwareCodecServiceRegistrant.cpp",
47    ],
48
49    header_libs: [
50        "libmedia_headers",
51    ],
52
53    shared_libs: [
54        "android.hardware.media.omx@1.0",
55        "hardware.google.media.c2@1.0",
56        "liblog",
57        "libcodec2_hidl_utils@1.0",
58        "libstagefright_codec2_vndk",
59        "libstagefright_omx",
60        "libstagefright_xmlparser",
61        "libutils",
62    ],
63
64    // Codecs
65    required: [
66        "libstagefright_soft_c2avcdec.vendor",
67        "libstagefright_soft_c2avcenc.vendor",
68        "libstagefright_soft_c2aacdec.vendor",
69        "libstagefright_soft_c2aacenc.vendor",
70        "libstagefright_soft_c2amrnbdec.vendor",
71        "libstagefright_soft_c2amrnbenc.vendor",
72        "libstagefright_soft_c2amrwbdec.vendor",
73        "libstagefright_soft_c2amrwbenc.vendor",
74        "libstagefright_soft_c2hevcdec.vendor",
75        "libstagefright_soft_c2g711alawdec.vendor",
76        "libstagefright_soft_c2g711mlawdec.vendor",
77        "libstagefright_soft_c2mpeg2dec.vendor",
78        "libstagefright_soft_c2h263dec.vendor",
79        "libstagefright_soft_c2h263enc.vendor",
80        "libstagefright_soft_c2mpeg4dec.vendor",
81        "libstagefright_soft_c2mpeg4enc.vendor",
82        "libstagefright_soft_c2mp3dec.vendor",
83        "libstagefright_soft_c2vorbisdec.vendor",
84        "libstagefright_soft_c2opusdec.vendor",
85        "libstagefright_soft_c2vp8dec.vendor",
86        "libstagefright_soft_c2vp9dec.vendor",
87        "libstagefright_soft_c2vp8enc.vendor",
88        "libstagefright_soft_c2vp9enc.vendor",
89        "libstagefright_soft_c2rawdec.vendor",
90        "libstagefright_soft_c2flacdec.vendor",
91        "libstagefright_soft_c2flacenc.vendor",
92        "libstagefright_soft_c2gsmdec.vendor",
93        "libstagefright_soft_c2xaacdec.vendor",
94    ],
95
96    compile_multilib: "32",
97}
98
99