aboutsummaryrefslogtreecommitdiff
path: root/tests/c2_comp_intf/Android.bp
blob: 0201ad0b0f094931b7b3b4ce797dbb919575377f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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",
    ],
    header_libs: [
        "libcodec2_soft_common_headers",
        "libcodec2_headers",
        "libcodec2_vndk_headers",
    ],

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