Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f83082f3 authored by Hirokazu Honda's avatar Hirokazu Honda
Browse files

codec2: add C2ComponentInterface test

This test will be able to test all the codec2 components in the system.

Test: C2ComponentInterface_test with C2V4L2Codec
Change-Id: I9049bd383ce3efc5c07010122525b8a7d2766bfa
parent c9b7057b
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
@@ -21,7 +21,45 @@ cc_test {
    shared_libs: [
        "libcutils",
        "liblog",
        "libcutils",
        "libhidlbase",
        "libion",
        "liblog",
        "libstagefright_codec2",
        "libutils",
    ],

    static_libs: [
        "libstagefright_codec2_vndk",
    ],

    cflags: [
        "-Werror",
        "-Wall",
        "-std=c++14",
    ],
}

cc_test {
    name: "codec2_interface_test",

    tags: [
        "tests",
    ],

    srcs: [
        "C2ComponentInterface_test.cpp",
    ],

    include_dirs: [
        "frameworks/av/media/libstagefright/codec2/include",
        "frameworks/av/media/libstagefright/codec2/vndk/include",
        "frameworks/native/include/media/openmax",
    ],

    shared_libs: [
        "libcutils",
        "liblog",
        "libcutils",
        "libhidlbase",
        "libion",