Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: [ |
| 3 | "frameworks_av_media_libmediaplayerservice_license", |
| 4 | ], |
| 5 | } |
| 6 | |
| 7 | // Added automatically by a large-scale-change |
| 8 | // See: http://go/android-license-faq |
| 9 | license { |
| 10 | name: "frameworks_av_media_libmediaplayerservice_license", |
| 11 | visibility: [":__subpackages__"], |
| 12 | license_kinds: [ |
| 13 | "SPDX-license-identifier-Apache-2.0", |
| 14 | ], |
| 15 | license_text: [ |
| 16 | "NOTICE", |
| 17 | ], |
| 18 | } |
| 19 | |
Pawan Wagh | 074e53c | 2023-06-20 22:06:43 +0000 | [diff] [blame^] | 20 | cc_defaults { |
| 21 | name: "libmediaplayerservice_defaults", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 22 | |
| 23 | srcs: [ |
| 24 | "ActivityManager.cpp", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 25 | "DeathNotifier.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 26 | "MediaPlayerFactory.cpp", |
| 27 | "MediaPlayerService.cpp", |
| 28 | "MediaRecorderClient.cpp", |
| 29 | "MetadataRetrieverClient.cpp", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 30 | "StagefrightMetadataRetriever.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 31 | "StagefrightRecorder.cpp", |
| 32 | "TestPlayerStub.cpp", |
| 33 | ], |
| 34 | |
| 35 | shared_libs: [ |
Marco Nelissen | a0c9841 | 2019-03-29 12:10:19 -0700 | [diff] [blame] | 36 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 37 | "android.hardware.media.omx@1.0", |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 38 | "av-types-aidl-cpp", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 39 | "framework-permission-aidl-cpp", |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 40 | "libaudioclient_aidl_conversion", |
Lajos Molnar | 94e6597 | 2019-02-13 09:06:48 -0800 | [diff] [blame] | 41 | "libbase", |
Steven Moreland | 09226a7 | 2021-04-05 23:18:44 +0000 | [diff] [blame] | 42 | "libactivitymanager_aidl", |
Byeongjo Park | 0f0ba39 | 2019-03-18 18:04:10 +0900 | [diff] [blame] | 43 | "libandroid_net", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 44 | "libaudioclient", |
| 45 | "libbinder", |
| 46 | "libcamera_client", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 47 | "libcodec2_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 48 | "libcrypto", |
| 49 | "libcutils", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 50 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 51 | "libdl", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 52 | "libdrmframework", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 53 | "libgui", |
| 54 | "libhidlbase", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 55 | "liblog", |
| 56 | "libmedia", |
Dongwon Kang | a42a62d | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 57 | "libmedia_codeclist", |
Jae Shin | 8568cb9 | 2017-10-30 11:13:36 +0900 | [diff] [blame] | 58 | "libmedia_omx", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 59 | "libmediadrm", |
| 60 | "libmediametrics", |
| 61 | "libmediautils", |
| 62 | "libmemunreachable", |
Dongwon Kang | b8d79f4 | 2018-11-01 17:43:20 -0700 | [diff] [blame] | 63 | "libnetd_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 64 | "libpowermanager", |
| 65 | "libstagefright", |
| 66 | "libstagefright_foundation", |
| 67 | "libstagefright_httplive", |
| 68 | "libutils", |
Samiul Islam | 6e2a813 | 2021-08-26 11:41:21 +0100 | [diff] [blame] | 69 | "packagemanager_aidl-cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 70 | ], |
| 71 | |
| 72 | header_libs: [ |
| 73 | "media_plugin_headers", |
Atneya Nair | 4dc66dc | 2021-11-02 12:59:19 -0400 | [diff] [blame] | 74 | "libmediautils_headers", |
Ray Essick | a4a8580 | 2022-01-09 14:46:35 -0800 | [diff] [blame] | 75 | "libstagefright_rtsp_headers", |
Ray Essick | 62138b3 | 2022-04-01 13:13:47 -0700 | [diff] [blame] | 76 | "libstagefright_webm_headers", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 77 | ], |
| 78 | |
| 79 | static_libs: [ |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 80 | "libplayerservice_datasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 81 | "libstagefright_nuplayer", |
| 82 | "libstagefright_rtsp", |
| 83 | "libstagefright_timedtext", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 84 | "framework-permission-aidl-cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 85 | ], |
| 86 | |
Pawan Wagh | 074e53c | 2023-06-20 22:06:43 +0000 | [diff] [blame^] | 87 | local_include_dirs: ["include"], |
| 88 | |
| 89 | cflags: [ |
| 90 | "-Werror", |
| 91 | "-Wno-error=deprecated-declarations", |
| 92 | "-Wall", |
| 93 | ], |
| 94 | |
| 95 | sanitize: { |
| 96 | cfi: true, |
| 97 | }, |
| 98 | } |
| 99 | |
| 100 | cc_library { |
| 101 | name: "libmediaplayerservice", |
| 102 | |
| 103 | defaults: [ |
| 104 | "libmediaplayerservice_defaults", |
| 105 | ], |
| 106 | |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 107 | export_shared_lib_headers: [ |
| 108 | "libmedia", |
Svet Ganov | 3376113 | 2021-05-13 22:51:08 +0000 | [diff] [blame] | 109 | "framework-permission-aidl-cpp", |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 110 | ], |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 111 | |
Atneya Nair | 4dc66dc | 2021-11-02 12:59:19 -0400 | [diff] [blame] | 112 | export_header_lib_headers: [ |
| 113 | "libmediautils_headers", |
| 114 | ], |
| 115 | |
Ray Essick | 6405072 | 2022-01-14 13:46:33 -0800 | [diff] [blame] | 116 | export_include_dirs: [ |
| 117 | ".", |
| 118 | ], |
Pawan Wagh | 074e53c | 2023-06-20 22:06:43 +0000 | [diff] [blame^] | 119 | } |