Bob Badour | c837504 | 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", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 14 | double_loadable: true, |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 15 | |
| 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 Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 32 | "libcodec2", |
| 33 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 34 | "libcutils", |
| 35 | "liblog", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 36 | "libstagefright_foundation", |
| 37 | "libutils", |
| 38 | ], |
| 39 | |
Pawin Vongmasa | 1f21336 | 2019-01-24 06:59:16 -0800 | [diff] [blame] | 40 | static_libs: [ |
| 41 | "libyuv_static", |
| 42 | ], |
| 43 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 44 | sanitize: { |
| 45 | cfi: true, |
| 46 | misc_undefined: [ |
| 47 | "unsigned-integer-overflow", |
| 48 | "signed-integer-overflow", |
| 49 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 50 | }, |
| 51 | } |