package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "external_v4l2_codec2_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-BSD
    default_applicable_licenses: ["external_v4l2_codec2_license"],
}

cc_test {
    name: "C2VEACompIntf_test",
    vendor: true,

    srcs: [
        "C2CompIntfTest.cpp",
        "C2VEACompIntf_test.cpp",
    ],

    shared_libs: [
        "libchrome",
        "libcodec2",
        "libcodec2_vndk",
        "libcutils",
        "liblog",
        "libui",
        "libutils",
        "libv4l2_codec2_components",
    ],
    include_dirs: [
        "external/v4l2_codec2/common/include",
        "external/v4l2_codec2/components/include",
        "frameworks/av/media/codec2/components/base/include",
        "frameworks/av/media/codec2/core/include",
        "frameworks/av/media/codec2/vndk/include",
    ],

    cflags: [
        "-Werror",
        "-Wall",
    ],
    ldflags: ["-Wl,-Bsymbolic"],
    clang: true,
}