| 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 |  | 
| Ray Essick | 4dfd2f3 | 2022-03-07 11:40:28 -0800 | [diff] [blame] | 10 | cc_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 Prasad | 8927a4a | 2020-11-23 12:16:35 +0530 | [diff] [blame] | 21 | cc_library { | 
| Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 22 |     name: "libsfplugin_ccodec_utils", | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 23 |     vendor_available: true, | 
| Jooyung Han | e3cf41a | 2020-04-30 04:22:22 +0900 | [diff] [blame] | 24 |     min_sdk_version: "29", | 
| Ray Essick | ef519d7 | 2022-01-30 19:34:35 -0800 | [diff] [blame] | 25 |     apex_available: [ "//apex_available:platform", "com.android.media.swcodec", ], | 
 | 26 |  | 
| Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 27 |     double_loadable: true, | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 28 |  | 
 | 29 |     srcs: [ | 
 | 30 |         "Codec2BufferUtils.cpp", | 
| Harish Mahendrakar | f5dec50 | 2022-04-13 15:53:55 -0700 | [diff] [blame] | 31 |         "Codec2CommonUtils.cpp", | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 32 |         "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 Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 46 |         "libcodec2", | 
 | 47 |         "libcodec2_vndk", | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 48 |         "libcutils", | 
 | 49 |         "liblog", | 
| Wonsik Kim | a38fdf2 | 2021-04-05 14:50:29 -0700 | [diff] [blame] | 50 |         "libnativewindow", | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 51 |         "libstagefright_foundation", | 
 | 52 |         "libutils", | 
 | 53 |     ], | 
 | 54 |  | 
| Pawin Vongmasa | 1f21336 | 2019-01-24 06:59:16 -0800 | [diff] [blame] | 55 |     static_libs: [ | 
| Wonsik Kim | a38fdf2 | 2021-04-05 14:50:29 -0700 | [diff] [blame] | 56 |         "libarect", | 
| Pawin Vongmasa | 1f21336 | 2019-01-24 06:59:16 -0800 | [diff] [blame] | 57 |         "libyuv_static", | 
 | 58 |     ], | 
 | 59 |  | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 60 |     sanitize: { | 
 | 61 |         cfi: true, | 
 | 62 |         misc_undefined: [ | 
 | 63 |             "unsigned-integer-overflow", | 
 | 64 |             "signed-integer-overflow", | 
 | 65 |         ], | 
| Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 66 |     }, | 
 | 67 | } |