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_library_shared {
11    name: "libcodec2_component_wrapper",
12    vendor_available: true,
13
14    srcs: [
15        "C2ComponentWrapper.cpp",
16        "SimpleMethodState.cpp",
17    ],
18
19    shared_libs: [
20        "libcodec2",
21        "libcodec2_vndk",
22        "libcutils",
23        "liblog",
24        "libstagefright_foundation",
25        "libutils",
26    ],
27
28    sanitize: {
29        misc_undefined: [
30            "unsigned-integer-overflow",
31            "signed-integer-overflow",
32        ],
33        cfi: true,
34    },
35
36    ldflags: ["-Wl,-Bsymbolic"],
37}
38