blob: c04ecbe36f9bfdd28febfbada2ff5215ddd457ad [file] [log] [blame]
Bob Badourc8375042021-02-12 21:02:31 -08001package {
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
Pawin Vongmasa36653902018-11-15 00:10:25 -080010cc_library_shared {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080011 name: "libcodec2_component_wrapper",
Pawin Vongmasa36653902018-11-15 00:10:25 -080012 vendor_available: true,
13
14 srcs: [
15 "C2ComponentWrapper.cpp",
16 "SimpleMethodState.cpp",
17 ],
18
19 shared_libs: [
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080020 "libcodec2",
21 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080022 "libcutils",
23 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080024 "libstagefright_foundation",
25 "libutils",
26 ],
27
28 sanitize: {
29 misc_undefined: [
30 "unsigned-integer-overflow",
31 "signed-integer-overflow",
32 ],
33 cfi: true,
Pawin Vongmasa36653902018-11-15 00:10:25 -080034 },
35
36 ldflags: ["-Wl,-Bsymbolic"],
37}