Bob Badour | c837504 | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "frameworks_av_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["frameworks_av_license"], |
| 8 | } |
| 9 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 10 | cc_library_shared { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 11 | name: "libsfplugin_ccodec", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 12 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 13 | export_include_dirs: ["include"], |
| 14 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 15 | srcs: [ |
| 16 | "C2OMXNode.cpp", |
| 17 | "CCodec.cpp", |
| 18 | "CCodecBufferChannel.cpp", |
Wonsik Kim | 469c834 | 2019-04-11 16:46:09 -0700 | [diff] [blame] | 19 | "CCodecBuffers.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 20 | "CCodecConfig.cpp", |
| 21 | "Codec2Buffer.cpp", |
| 22 | "Codec2InfoBuilder.cpp", |
Wonsik Kim | 0379ae8 | 2020-11-24 15:01:33 -0800 | [diff] [blame] | 23 | "FrameReassembler.cpp", |
Wonsik Kim | ab34ed6 | 2019-01-31 15:28:46 -0800 | [diff] [blame] | 24 | "PipelineWatcher.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 25 | "ReflectedParamUpdater.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 26 | ], |
| 27 | |
| 28 | cflags: [ |
| 29 | "-Werror", |
| 30 | "-Wall", |
| 31 | ], |
| 32 | |
| 33 | header_libs: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 34 | "libcodec2_internal", |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 35 | "libmediadrm_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 36 | "libmediametrics_headers", |
Marco Nelissen | b9b3870 | 2019-09-23 12:40:49 -0700 | [diff] [blame] | 37 | "media_ndk_headers", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 38 | ], |
| 39 | |
| 40 | shared_libs: [ |
| 41 | "android.hardware.cas.native@1.0", |
Robert Shih | 895fba9 | 2019-07-16 16:29:44 -0700 | [diff] [blame] | 42 | "android.hardware.drm@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 43 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 44 | "android.hardware.media.omx@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 45 | "libbase", |
| 46 | "libbinder", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 47 | "libcodec2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 48 | "libcodec2_client", |
| 49 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 50 | "libcutils", |
| 51 | "libgui", |
| 52 | "libhidlallocatorutils", |
| 53 | "libhidlbase", |
| 54 | "liblog", |
Dongwon Kang | 23a180b | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 55 | "libmedia_codeclist", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 56 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 57 | "libsfplugin_ccodec_utils", |
Chong Zhang | 1fa77753 | 2020-02-19 09:26:29 -0800 | [diff] [blame] | 58 | "libstagefright_bufferqueue_helper", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 59 | "libstagefright_codecbase", |
| 60 | "libstagefright_foundation", |
Pawin Vongmasa | 1858832 | 2019-05-18 01:52:13 -0700 | [diff] [blame] | 61 | "libstagefright_omx", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 62 | "libstagefright_xmlparser", |
| 63 | "libui", |
| 64 | "libutils", |
| 65 | ], |
| 66 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 67 | export_shared_lib_headers: [ |
| 68 | "libcodec2", |
| 69 | "libcodec2_client", |
| 70 | ], |
| 71 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 72 | sanitize: { |
| 73 | cfi: true, |
| 74 | misc_undefined: [ |
| 75 | "unsigned-integer-overflow", |
| 76 | "signed-integer-overflow", |
| 77 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 78 | }, |
| 79 | } |