Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame^] | 1 | cc_library_shared { |
| 2 | name: "libstagefright_ccodec", |
| 3 | |
| 4 | srcs: [ |
| 5 | "C2OMXNode.cpp", |
| 6 | "CCodec.cpp", |
| 7 | "CCodecBufferChannel.cpp", |
| 8 | "CCodecConfig.cpp", |
| 9 | "Codec2Buffer.cpp", |
| 10 | "Codec2InfoBuilder.cpp", |
| 11 | "ReflectedParamUpdater.cpp", |
| 12 | "SkipCutBuffer.cpp", |
| 13 | ], |
| 14 | |
| 15 | cflags: [ |
| 16 | "-Werror", |
| 17 | "-Wall", |
| 18 | ], |
| 19 | |
| 20 | header_libs: [ |
| 21 | "libstagefright_codec2_internal", |
| 22 | ], |
| 23 | |
| 24 | shared_libs: [ |
| 25 | "android.hardware.cas.native@1.0", |
| 26 | "android.hardware.graphics.bufferqueue@1.0", |
| 27 | "android.hardware.media.omx@1.0", |
| 28 | "hardware.google.media.c2@1.0", |
| 29 | "libbase", |
| 30 | "libbinder", |
| 31 | "libcodec2_hidl_client", |
| 32 | "libcutils", |
| 33 | "libgui", |
| 34 | "libhidlallocatorutils", |
| 35 | "libhidlbase", |
| 36 | "liblog", |
| 37 | "libmedia", |
| 38 | "libmedia_omx", |
| 39 | "libstagefright_bufferqueue_helper", |
| 40 | "libstagefright_ccodec_utils", |
| 41 | "libstagefright_codec2", |
| 42 | "libstagefright_codec2_vndk", |
| 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 | ], |
| 57 | diag: { |
| 58 | cfi: true, |
| 59 | }, |
| 60 | }, |
| 61 | } |