Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 1 | package { |
| 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 Prasad | 8927a4a | 2020-11-23 12:16:35 +0530 | [diff] [blame] | 10 | cc_library { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 11 | name: "libsfplugin_ccodec_utils", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 12 | vendor_available: true, |
Jooyung Han | e3cf41a | 2020-04-30 04:22:22 +0900 | [diff] [blame] | 13 | min_sdk_version: "29", |
Ray Essick | ef519d7 | 2022-01-30 19:34:35 -0800 | [diff] [blame] | 14 | apex_available: [ "//apex_available:platform", "com.android.media.swcodec", ], |
| 15 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 16 | double_loadable: true, |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 17 | |
| 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 Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 34 | "libcodec2", |
| 35 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 36 | "libcutils", |
| 37 | "liblog", |
Wonsik Kim | a38fdf2 | 2021-04-05 14:50:29 -0700 | [diff] [blame] | 38 | "libnativewindow", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 39 | "libstagefright_foundation", |
| 40 | "libutils", |
| 41 | ], |
| 42 | |
Pawin Vongmasa | 1f21336 | 2019-01-24 06:59:16 -0800 | [diff] [blame] | 43 | static_libs: [ |
Wonsik Kim | a38fdf2 | 2021-04-05 14:50:29 -0700 | [diff] [blame] | 44 | "libarect", |
Pawin Vongmasa | 1f21336 | 2019-01-24 06:59:16 -0800 | [diff] [blame] | 45 | "libyuv_static", |
| 46 | ], |
| 47 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 48 | sanitize: { |
| 49 | cfi: true, |
| 50 | misc_undefined: [ |
| 51 | "unsigned-integer-overflow", |
| 52 | "signed-integer-overflow", |
| 53 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 54 | }, |
| 55 | } |