Bob Badour | 948e6aa | 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 | e1104ca | 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 | |
Harish Mahendrakar | b49c278 | 2022-05-24 15:48:34 -0700 | [diff] [blame] | 40 | static_libs: [ |
Trevor Radcliffe | 89bbe6b | 2022-06-08 14:14:43 +0000 | [diff] [blame^] | 41 | "libSurfaceFlingerProperties", |
Harish Mahendrakar | b49c278 | 2022-05-24 15:48:34 -0700 | [diff] [blame] | 42 | ], |
| 43 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 44 | shared_libs: [ |
| 45 | "android.hardware.cas.native@1.0", |
Robert Shih | 895fba9 | 2019-07-16 16:29:44 -0700 | [diff] [blame] | 46 | "android.hardware.drm@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 47 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 48 | "android.hardware.media.omx@1.0", |
Wonsik Kim | a79c552 | 2022-01-18 16:29:24 -0800 | [diff] [blame] | 49 | "android.hardware.graphics.mapper@4.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 50 | "libbase", |
| 51 | "libbinder", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 52 | "libcodec2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 53 | "libcodec2_client", |
| 54 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 55 | "libcutils", |
Wonsik Kim | a79c552 | 2022-01-18 16:29:24 -0800 | [diff] [blame] | 56 | "libgralloctypes", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 57 | "libgui", |
| 58 | "libhidlallocatorutils", |
| 59 | "libhidlbase", |
| 60 | "liblog", |
Dongwon Kang | 23a180b | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 61 | "libmedia_codeclist", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 62 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 63 | "libsfplugin_ccodec_utils", |
Chong Zhang | 1fa77753 | 2020-02-19 09:26:29 -0800 | [diff] [blame] | 64 | "libstagefright_bufferqueue_helper", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 65 | "libstagefright_codecbase", |
| 66 | "libstagefright_foundation", |
Pawin Vongmasa | 1858832 | 2019-05-18 01:52:13 -0700 | [diff] [blame] | 67 | "libstagefright_omx", |
Guillaume Chelfi | 2d4c9db | 2022-03-18 13:43:49 +0100 | [diff] [blame] | 68 | "libstagefright_surface_utils", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 69 | "libstagefright_xmlparser", |
| 70 | "libui", |
| 71 | "libutils", |
| 72 | ], |
| 73 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 74 | export_shared_lib_headers: [ |
| 75 | "libcodec2", |
| 76 | "libcodec2_client", |
| 77 | ], |
| 78 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 79 | sanitize: { |
| 80 | cfi: true, |
| 81 | misc_undefined: [ |
| 82 | "unsigned-integer-overflow", |
| 83 | "signed-integer-overflow", |
| 84 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 85 | }, |
| 86 | } |