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 | b9b3870 | 2019-09-23 12:40:49 -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", |
Robert Shih | 895fba9 | 2019-07-16 16:29:44 -0700 | [diff] [blame] | 31 | "android.hardware.drm@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", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame^] | 36 | "libcodec2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 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 | 23a180b | 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 | 1858832 | 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 | 1858832 | 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_xmlparser", |
| 52 | "libui", |
| 53 | "libutils", |
| 54 | ], |
| 55 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame^] | 56 | export_shared_lib_headers: [ |
| 57 | "libcodec2", |
| 58 | "libcodec2_client", |
| 59 | ], |
| 60 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 61 | sanitize: { |
| 62 | cfi: true, |
| 63 | misc_undefined: [ |
| 64 | "unsigned-integer-overflow", |
| 65 | "signed-integer-overflow", |
| 66 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 67 | }, |
| 68 | } |