blob: 674921ec9c907665bc7993951aa336686f298fe0 [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",
Ray Essickef519d72022-01-30 19:34:35 -080014 apex_available: [ "//apex_available:platform", "com.android.media.swcodec", ],
15
Wonsik Kim155d5cb2019-10-09 12:49:49 -070016 double_loadable: true,
Pawin Vongmasa36653902018-11-15 00:10:25 -080017
18 srcs: [
19 "Codec2BufferUtils.cpp",
20 "Codec2Mapper.cpp",
21 ],
22
23 cflags: [
24 "-Werror",
25 "-Wall",
26 ],
27
28 export_include_dirs: [
29 ".",
30 ],
31
32 shared_libs: [
33 "libbase",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080034 "libcodec2",
35 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080036 "libcutils",
37 "liblog",
Wonsik Kima38fdf22021-04-05 14:50:29 -070038 "libnativewindow",
Pawin Vongmasa36653902018-11-15 00:10:25 -080039 "libstagefright_foundation",
40 "libutils",
41 ],
42
Pawin Vongmasa1f213362019-01-24 06:59:16 -080043 static_libs: [
Wonsik Kima38fdf22021-04-05 14:50:29 -070044 "libarect",
Pawin Vongmasa1f213362019-01-24 06:59:16 -080045 "libyuv_static",
46 ],
47
Pawin Vongmasa36653902018-11-15 00:10:25 -080048 sanitize: {
49 cfi: true,
50 misc_undefined: [
51 "unsigned-integer-overflow",
52 "signed-integer-overflow",
53 ],
Pawin Vongmasa36653902018-11-15 00:10:25 -080054 },
55}