blob: 74e7ef1de0f6b6364fa4f8cb648204763ace9723 [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
S Vasudev Prasad8927a4a2020-11-23 12:16:35 +053010cc_library {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080011 name: "libsfplugin_ccodec_utils",
Pawin Vongmasa36653902018-11-15 00:10:25 -080012 vendor_available: true,
Jooyung Hane3cf41a2020-04-30 04:22:22 +090013 min_sdk_version: "29",
Wonsik Kim155d5cb2019-10-09 12:49:49 -070014 double_loadable: true,
Pawin Vongmasa36653902018-11-15 00:10:25 -080015
16 srcs: [
17 "Codec2BufferUtils.cpp",
18 "Codec2Mapper.cpp",
19 ],
20
21 cflags: [
22 "-Werror",
23 "-Wall",
24 ],
25
26 export_include_dirs: [
27 ".",
28 ],
29
30 shared_libs: [
31 "libbase",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080032 "libcodec2",
33 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080034 "libcutils",
35 "liblog",
Pawin Vongmasa36653902018-11-15 00:10:25 -080036 "libstagefright_foundation",
37 "libutils",
38 ],
39
Pawin Vongmasa1f213362019-01-24 06:59:16 -080040 static_libs: [
41 "libyuv_static",
42 ],
43
Pawin Vongmasa36653902018-11-15 00:10:25 -080044 sanitize: {
45 cfi: true,
46 misc_undefined: [
47 "unsigned-integer-overflow",
48 "signed-integer-overflow",
49 ],
Pawin Vongmasa36653902018-11-15 00:10:25 -080050 },
51}