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", |
Wonsik Kim | ab34ed6 | 2019-01-31 15:28:46 -0800 | [diff] [blame] | 11 | "PipelineWatcher.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 12 | "ReflectedParamUpdater.cpp", |
| 13 | "SkipCutBuffer.cpp", |
| 14 | ], |
| 15 | |
| 16 | cflags: [ |
| 17 | "-Werror", |
| 18 | "-Wall", |
| 19 | ], |
| 20 | |
| 21 | header_libs: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 22 | "libcodec2_internal", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 23 | ], |
| 24 | |
| 25 | shared_libs: [ |
| 26 | "android.hardware.cas.native@1.0", |
| 27 | "android.hardware.graphics.bufferqueue@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 28 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 29 | "android.hardware.media.omx@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 30 | "libbase", |
| 31 | "libbinder", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 32 | "libcodec2", |
| 33 | "libcodec2_client", |
| 34 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 35 | "libcutils", |
| 36 | "libgui", |
| 37 | "libhidlallocatorutils", |
| 38 | "libhidlbase", |
| 39 | "liblog", |
| 40 | "libmedia", |
| 41 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 42 | "libsfplugin_ccodec_utils", |
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 | } |