xref: /aosp_15_r20/external/v4l2_codec2/tests/c2_comp_intf/Android.bp (revision 0ec5a0ec62797f775085659156625e7f1bdb369f)
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 "external_v4l2_codec2_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-BSD
7    default_applicable_licenses: ["external_v4l2_codec2_license"],
8}
9
10cc_test {
11    name: "C2VEACompIntf_test",
12    vendor: true,
13
14    srcs: [
15        "C2CompIntfTest.cpp",
16        "C2VEACompIntf_test.cpp",
17    ],
18
19    shared_libs: [
20        "libchrome",
21        "libcodec2",
22        "libcodec2_vndk",
23        "libcutils",
24        "liblog",
25        "libui",
26        "libutils",
27        "libv4l2_codec2_components",
28    ],
29    include_dirs: [
30        "external/v4l2_codec2/common/include",
31        "external/v4l2_codec2/components/include",
32    ],
33    header_libs: [
34        "libcodec2_soft_common_headers",
35        "libcodec2_headers",
36        "libcodec2_vndk_headers",
37    ],
38
39    cflags: [
40        "-Werror",
41        "-Wall",
42    ],
43    ldflags: ["-Wl,-Bsymbolic"],
44
45}
46