Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 1 | cc_library_shared { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 2 | name: "libsfplugin_ccodec_utils", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 3 | vendor_available: true, |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 4 | double_loadable: true, |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 5 | |
| 6 | srcs: [ |
| 7 | "Codec2BufferUtils.cpp", |
| 8 | "Codec2Mapper.cpp", |
| 9 | ], |
| 10 | |
| 11 | cflags: [ |
| 12 | "-Werror", |
| 13 | "-Wall", |
| 14 | ], |
| 15 | |
| 16 | export_include_dirs: [ |
| 17 | ".", |
| 18 | ], |
| 19 | |
| 20 | shared_libs: [ |
| 21 | "libbase", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 22 | "libcodec2", |
| 23 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 24 | "libcutils", |
| 25 | "liblog", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 26 | "libstagefright_foundation", |
| 27 | "libutils", |
| 28 | ], |
| 29 | |
Pawin Vongmasa | 1f21336 | 2019-01-24 06:59:16 -0800 | [diff] [blame] | 30 | static_libs: [ |
| 31 | "libyuv_static", |
| 32 | ], |
| 33 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 34 | sanitize: { |
| 35 | cfi: true, |
| 36 | misc_undefined: [ |
| 37 | "unsigned-integer-overflow", |
| 38 | "signed-integer-overflow", |
| 39 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 40 | }, |
| 41 | } |