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 | a4ce388 | 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", |
Marco Nelissen | 55b259c | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 25 | "libmediadrm_headers", |
Dongwon Kang | a42a62d | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 26 | "media_ndk_headers", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 27 | ], |
| 28 | |
| 29 | shared_libs: [ |
| 30 | "android.hardware.cas.native@1.0", |
| 31 | "android.hardware.graphics.bufferqueue@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 32 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 33 | "android.hardware.media.omx@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 34 | "libbase", |
| 35 | "libbinder", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 36 | "libcodec2", |
| 37 | "libcodec2_client", |
| 38 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 39 | "libcutils", |
| 40 | "libgui", |
| 41 | "libhidlallocatorutils", |
| 42 | "libhidlbase", |
| 43 | "liblog", |
Dongwon Kang | a42a62d | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 44 | "libmedia_codeclist", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 45 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 46 | "libsfplugin_ccodec_utils", |
Pawin Vongmasa | a4ce388 | 2019-05-18 01:52:13 -0700 | [diff] [blame] | 47 | "libstagefright_bufferqueue_helper", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 48 | "libstagefright_codecbase", |
| 49 | "libstagefright_foundation", |
Pawin Vongmasa | a4ce388 | 2019-05-18 01:52:13 -0700 | [diff] [blame] | 50 | "libstagefright_omx", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 51 | "libstagefright_omx_utils", |
| 52 | "libstagefright_xmlparser", |
| 53 | "libui", |
| 54 | "libutils", |
| 55 | ], |
| 56 | |
| 57 | sanitize: { |
| 58 | cfi: true, |
| 59 | misc_undefined: [ |
| 60 | "unsigned-integer-overflow", |
| 61 | "signed-integer-overflow", |
| 62 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 63 | }, |
| 64 | } |