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 | |
Ray Essick | fa7b2ae | 2022-02-10 20:06:52 -0800 | [diff] [blame] | 10 | cc_library_headers { |
| 11 | name: "libsfplugin_ccodec_internal_headers", |
| 12 | export_include_dirs: ["."], |
| 13 | // only for internal tests, perhaps restrict via visibility clause |
| 14 | } |
| 15 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 16 | cc_library_shared { |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 17 | name: "libsfplugin_ccodec", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 18 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 19 | export_include_dirs: ["include"], |
| 20 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 21 | srcs: [ |
| 22 | "C2OMXNode.cpp", |
| 23 | "CCodec.cpp", |
| 24 | "CCodecBufferChannel.cpp", |
Wonsik Kim | 469c834 | 2019-04-11 16:46:09 -0700 | [diff] [blame] | 25 | "CCodecBuffers.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 26 | "CCodecConfig.cpp", |
| 27 | "Codec2Buffer.cpp", |
| 28 | "Codec2InfoBuilder.cpp", |
Wonsik Kim | e1104ca | 2020-11-24 15:01:33 -0800 | [diff] [blame] | 29 | "FrameReassembler.cpp", |
Wonsik Kim | ab34ed6 | 2019-01-31 15:28:46 -0800 | [diff] [blame] | 30 | "PipelineWatcher.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 31 | "ReflectedParamUpdater.cpp", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 32 | ], |
| 33 | |
| 34 | cflags: [ |
| 35 | "-Werror", |
| 36 | "-Wall", |
| 37 | ], |
| 38 | |
| 39 | header_libs: [ |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 40 | "libcodec2_internal", |
Marco Nelissen | 13aa1a4 | 2019-09-27 10:21:55 -0700 | [diff] [blame] | 41 | "libmediadrm_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 42 | "libmediametrics_headers", |
Marco Nelissen | b9b3870 | 2019-09-23 12:40:49 -0700 | [diff] [blame] | 43 | "media_ndk_headers", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 44 | ], |
| 45 | |
Harish Mahendrakar | b49c278 | 2022-05-24 15:48:34 -0700 | [diff] [blame] | 46 | static_libs: [ |
Trevor Radcliffe | 89bbe6b | 2022-06-08 14:14:43 +0000 | [diff] [blame] | 47 | "libSurfaceFlingerProperties", |
Arun Johnson | 71cd000 | 2024-03-04 08:25:27 +0000 | [diff] [blame^] | 48 | "aconfig_mediacodec_flags_c_lib", |
Arun Johnson | abfac48 | 2024-02-22 07:17:20 +0000 | [diff] [blame] | 49 | "android.media.codec-aconfig-cc", |
Harish Mahendrakar | b49c278 | 2022-05-24 15:48:34 -0700 | [diff] [blame] | 50 | ], |
| 51 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 52 | shared_libs: [ |
| 53 | "android.hardware.cas.native@1.0", |
Robert Shih | 895fba9 | 2019-07-16 16:29:44 -0700 | [diff] [blame] | 54 | "android.hardware.drm@1.0", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 55 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 56 | "android.hardware.media.omx@1.0", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 57 | "libbase", |
| 58 | "libbinder", |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 59 | "libcodec2", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 60 | "libcodec2_client", |
| 61 | "libcodec2_vndk", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 62 | "libcutils", |
Wonsik Kim | a79c552 | 2022-01-18 16:29:24 -0800 | [diff] [blame] | 63 | "libgralloctypes", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 64 | "libgui", |
| 65 | "libhidlallocatorutils", |
| 66 | "libhidlbase", |
| 67 | "liblog", |
Dongwon Kang | 23a180b | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 68 | "libmedia_codeclist", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 69 | "libmedia_omx", |
Pawin Vongmasa | d0f0e14 | 2018-11-15 03:36:28 -0800 | [diff] [blame] | 70 | "libsfplugin_ccodec_utils", |
Chong Zhang | 1fa77753 | 2020-02-19 09:26:29 -0800 | [diff] [blame] | 71 | "libstagefright_bufferqueue_helper", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 72 | "libstagefright_codecbase", |
| 73 | "libstagefright_foundation", |
Pawin Vongmasa | 1858832 | 2019-05-18 01:52:13 -0700 | [diff] [blame] | 74 | "libstagefright_omx", |
Wonsik Kim | 3a692e6 | 2023-05-19 15:37:22 -0700 | [diff] [blame] | 75 | "libstagefright_surface_utils", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 76 | "libstagefright_xmlparser", |
| 77 | "libui", |
| 78 | "libutils", |
Wonsik Kim | 3a692e6 | 2023-05-19 15:37:22 -0700 | [diff] [blame] | 79 | "server_configurable_flags", |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 80 | ], |
| 81 | |
Wonsik Kim | 155d5cb | 2019-10-09 12:49:49 -0700 | [diff] [blame] | 82 | export_shared_lib_headers: [ |
| 83 | "libcodec2", |
| 84 | "libcodec2_client", |
| 85 | ], |
| 86 | |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 87 | sanitize: { |
| 88 | cfi: true, |
| 89 | misc_undefined: [ |
| 90 | "unsigned-integer-overflow", |
| 91 | "signed-integer-overflow", |
| 92 | ], |
Pawin Vongmasa | 3665390 | 2018-11-15 00:10:25 -0800 | [diff] [blame] | 93 | }, |
| 94 | } |