xref: /aosp_15_r20/frameworks/av/media/codec2/sfplugin/tests/Android.bp (revision ec779b8e0859a360c3d303172224686826e6e0e1)
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_av_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_av_license"],
8}
9
10cc_test {
11    name: "ccodec_unit_test",
12    test_suites: ["device-tests"],
13
14    srcs: [
15        "CCodecBuffers_test.cpp",
16        "CCodecConfig_test.cpp",
17        "FrameReassembler_test.cpp",
18        "ReflectedParamUpdater_test.cpp",
19    ],
20
21    defaults: [
22        "libcodec2-impl-defaults",
23        "libcodec2-internal-defaults",
24    ],
25
26    header_libs: [
27        "libsfplugin_ccodec_internal_headers",
28    ],
29
30    shared_libs: [
31        "[email protected]",
32        "[email protected]",
33        "libcodec2",
34        "libcodec2_client",
35        "libhidlbase",
36        "libfmq",
37        "libmedia_omx",
38        "libsfplugin_ccodec",
39        "libsfplugin_ccodec_utils",
40        "libstagefright_foundation",
41        "libutils",
42    ],
43
44    static_libs: [
45        "android.media.codec-aconfig-cc",
46        "[email protected]",
47        "[email protected]",
48    ],
49
50    cflags: [
51        "-Werror",
52        "-Wall",
53    ],
54}
55
56cc_test {
57    name: "mc_sanity_test",
58    test_suites: ["device-tests"],
59
60    srcs: [
61        "MediaCodec_sanity_test.cpp",
62    ],
63
64    header_libs: [
65        "libmediadrm_headers",
66        "libmediametrics_headers",
67        "libsfplugin_ccodec_internal_headers",
68    ],
69
70    shared_libs: [
71        "libbinder",
72        "libcodec2",
73        "libgui",
74        "libmedia",
75        "libmedia_omx",
76        "libsfplugin_ccodec",
77        "libstagefright",
78        "libstagefright_foundation",
79        "libutils",
80    ],
81
82    cflags: [
83        "-Werror",
84        "-Wall",
85    ],
86}
87