blob: 54a6fb16edf0d235958a8921a657faa60cb559d4 [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
Ray Essick4dfd2f32022-03-07 11:40:28 -080010cc_library_headers {
11 name: "libsfplugin_ccodec_utils_headers",
12 vendor_available: true,
13 min_sdk_version: "29",
14 apex_available: [ "//apex_available:platform", "com.android.media.swcodec", ],
15
16 export_include_dirs: [
17 ".",
18 ],
19}
20
S Vasudev Prasad8927a4a2020-11-23 12:16:35 +053021cc_library {
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080022 name: "libsfplugin_ccodec_utils",
Pawin Vongmasa36653902018-11-15 00:10:25 -080023 vendor_available: true,
Jooyung Hane3cf41a2020-04-30 04:22:22 +090024 min_sdk_version: "29",
Ray Essickef519d72022-01-30 19:34:35 -080025 apex_available: [ "//apex_available:platform", "com.android.media.swcodec", ],
26
Wonsik Kim155d5cb2019-10-09 12:49:49 -070027 double_loadable: true,
Pawin Vongmasa36653902018-11-15 00:10:25 -080028
29 srcs: [
30 "Codec2BufferUtils.cpp",
Harish Mahendrakarf5dec502022-04-13 15:53:55 -070031 "Codec2CommonUtils.cpp",
Pawin Vongmasa36653902018-11-15 00:10:25 -080032 "Codec2Mapper.cpp",
33 ],
34
35 cflags: [
36 "-Werror",
37 "-Wall",
38 ],
39
40 export_include_dirs: [
41 ".",
42 ],
43
44 shared_libs: [
45 "libbase",
Pawin Vongmasad0f0e142018-11-15 03:36:28 -080046 "libcodec2",
47 "libcodec2_vndk",
Pawin Vongmasa36653902018-11-15 00:10:25 -080048 "libcutils",
49 "liblog",
Wonsik Kima38fdf22021-04-05 14:50:29 -070050 "libnativewindow",
Pawin Vongmasa36653902018-11-15 00:10:25 -080051 "libstagefright_foundation",
52 "libutils",
53 ],
54
Pawin Vongmasa1f213362019-01-24 06:59:16 -080055 static_libs: [
Wonsik Kima38fdf22021-04-05 14:50:29 -070056 "libarect",
Pawin Vongmasa1f213362019-01-24 06:59:16 -080057 "libyuv_static",
58 ],
59
Pawin Vongmasa36653902018-11-15 00:10:25 -080060 sanitize: {
61 cfi: true,
62 misc_undefined: [
63 "unsigned-integer-overflow",
64 "signed-integer-overflow",
65 ],
Pawin Vongmasa36653902018-11-15 00:10:25 -080066 },
67}