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