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", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 3 | |
| 4 | srcs: [ |
| 5 | "C2OMXNode.cpp", |
| 6 | "CCodec.cpp", |
| 7 | "CCodecBufferChannel.cpp", |
| 8 | "CCodecConfig.cpp", |
| 9 | "Codec2Buffer.cpp", |
| 10 | "Codec2InfoBuilder.cpp", |
| 11 | "ReflectedParamUpdater.cpp", |
| 12 | "SkipCutBuffer.cpp", |
| 13 | ], |
| 14 | |
| 15 | cflags: [ |
| 16 | "-Werror", |
| 17 | "-Wall", |
| 18 | ], |
| 19 | |
| 20 | header_libs: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 21 | "libcodec2_internal", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 22 | ], |
| 23 | |
| 24 | shared_libs: [ |
| 25 | "android.hardware.cas.native@1.0", |
| 26 | "android.hardware.graphics.bufferqueue@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 27 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 28 | "android.hardware.media.omx@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 29 | "libbase", |
| 30 | "libbinder", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 31 | "libcodec2", |
| 32 | "libcodec2_client", |
| 33 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 34 | "libcutils", |
| 35 | "libgui", |
| 36 | "libhidlallocatorutils", |
| 37 | "libhidlbase", |
| 38 | "liblog", |
| 39 | "libmedia", |
| 40 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 41 | "libsfplugin_ccodec_utils", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 42 | "libstagefright_bufferqueue_helper", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 43 | "libstagefright_codecbase", |
| 44 | "libstagefright_foundation", |
| 45 | "libstagefright_omx_utils", |
| 46 | "libstagefright_xmlparser", |
| 47 | "libui", |
| 48 | "libutils", |
| 49 | ], |
| 50 | |
| 51 | sanitize: { |
| 52 | cfi: true, |
| 53 | misc_undefined: [ |
| 54 | "unsigned-integer-overflow", |
| 55 | "signed-integer-overflow", |
| 56 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 57 | }, |
| 58 | } |