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