blob: 2f4d6b1cb53c8a97ceace81e205ae609a499090d [file] [log] [blame]
Bob Badour948e6aa2021-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",
Wonsik Kima38fdf22021-04-05 14:50:29 -070036 "libnativewindow",
Pawin Vongmasa36653902018-11-15 00:10:25 -080037 "libstagefright_foundation",
38 "libutils",
39 ],
40
Pawin Vongmasa1f213362019-01-24 06:59:16 -080041 static_libs: [
Wonsik Kima38fdf22021-04-05 14:50:29 -070042 "libarect",
Pawin Vongmasa1f213362019-01-24 06:59:16 -080043 "libyuv_static",
44 ],
45
Pawin Vongmasa36653902018-11-15 00:10:25 -080046 sanitize: {
47 cfi: true,
48 misc_undefined: [
49 "unsigned-integer-overflow",
50 "signed-integer-overflow",
51 ],
Pawin Vongmasa36653902018-11-15 00:10:25 -080052 },
53}