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 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 4 | export_include_dirs: ["include"], |
| 5 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 6 | srcs: [ |
| 7 | "C2OMXNode.cpp", |
| 8 | "CCodec.cpp", |
| 9 | "CCodecBufferChannel.cpp", |
Wonsik Kim | 469c834 | 2019-04-11 16:46:09 -0700 | [diff] [blame] | 10 | "CCodecBuffers.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 11 | "CCodecConfig.cpp", |
| 12 | "Codec2Buffer.cpp", |
| 13 | "Codec2InfoBuilder.cpp", |
Wonsik Kim | ab34ed6 | 2019-01-31 15:28:46 -0800 | [diff] [blame] | 14 | "PipelineWatcher.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 15 | "ReflectedParamUpdater.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 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 | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 25 | "libmediadrm_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 26 | "libmediametrics_headers", |
Marco Nelissen | b9b3870 | 2019-09-23 12:40:49 -0700 | [diff] [blame] | 27 | "media_ndk_headers", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 28 | ], |
| 29 | |
| 30 | shared_libs: [ |
| 31 | "android.hardware.cas.native@1.0", |
Robert Shih | 895fba9 | 2019-07-16 16:29:44 -0700 | [diff] [blame] | 32 | "android.hardware.drm@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 33 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 34 | "android.hardware.media.omx@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 35 | "libbase", |
| 36 | "libbinder", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 37 | "libcodec2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 38 | "libcodec2_client", |
| 39 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 40 | "libcutils", |
| 41 | "libgui", |
| 42 | "libhidlallocatorutils", |
| 43 | "libhidlbase", |
| 44 | "liblog", |
Dongwon Kang | 23a180b | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 45 | "libmedia_codeclist", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 46 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 47 | "libsfplugin_ccodec_utils", |
Chong Zhang | 1fa77753 | 2020-02-19 09:26:29 -0800 | [diff] [blame^] | 48 | "libstagefright_bufferqueue_helper", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 49 | "libstagefright_codecbase", |
| 50 | "libstagefright_foundation", |
Pawin Vongmasa | 1858832 | 2019-05-18 01:52:13 -0700 | [diff] [blame] | 51 | "libstagefright_omx", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 52 | "libstagefright_xmlparser", |
| 53 | "libui", |
| 54 | "libutils", |
| 55 | ], |
| 56 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 57 | export_shared_lib_headers: [ |
| 58 | "libcodec2", |
| 59 | "libcodec2_client", |
| 60 | ], |
| 61 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 62 | sanitize: { |
| 63 | cfi: true, |
| 64 | misc_undefined: [ |
| 65 | "unsigned-integer-overflow", |
| 66 | "signed-integer-overflow", |
| 67 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 68 | }, |
| 69 | } |