1cc_test {
2    name: "ccodec_unit_test",
3
4    srcs: [
5        "CCodecBuffers_test.cpp",
6        "CCodecConfig_test.cpp",
7        "ReflectedParamUpdater_test.cpp",
8    ],
9
10    defaults: [
11        "libcodec2-impl-defaults",
12        "libcodec2-internal-defaults",
13    ],
14
15    include_dirs: [
16        "frameworks/av/media/codec2/sfplugin",
17    ],
18
19    shared_libs: [
20        "android.hardware.media.bufferpool@2.0",
21        "android.hardware.media.c2@1.0",
22        "libcodec2",
23        "libcodec2_client",
24        "libhidlbase",
25        "libfmq",
26        "libmedia_omx",
27        "libsfplugin_ccodec",
28        "libsfplugin_ccodec_utils",
29        "libstagefright_foundation",
30        "libutils",
31    ],
32
33    static_libs: [
34        "libcodec2_hidl@1.0",
35        "libstagefright_bufferpool@2.0",
36    ],
37
38    cflags: [
39        "-Werror",
40        "-Wall",
41    ],
42}
43
44cc_test {
45    name: "mc_sanity_test",
46
47    srcs: [
48        "MediaCodec_sanity_test.cpp",
49    ],
50
51    include_dirs: [
52        "frameworks/av/media/codec2/sfplugin",
53    ],
54
55    header_libs: [
56        "libmediadrm_headers",
57        "libmediametrics_headers",
58    ],
59
60    shared_libs: [
61        "libbinder",
62        "libcodec2",
63        "libgui",
64        "libmedia",
65        "libmedia_omx",
66        "libsfplugin_ccodec",
67        "libstagefright",
68        "libstagefright_foundation",
69        "libutils",
70    ],
71
72    cflags: [
73        "-Werror",
74        "-Wall",
75    ],
76}
77