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 | |
Harish Mahendrakar | 565d46c | 2021-02-04 15:46:32 -0800 | [diff] [blame] | 20 | cc_library { |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 21 | |
| 22 | srcs: [ |
| 23 | "ActivityManager.cpp", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 24 | "DeathNotifier.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 25 | "MediaPlayerFactory.cpp", |
| 26 | "MediaPlayerService.cpp", |
| 27 | "MediaRecorderClient.cpp", |
| 28 | "MetadataRetrieverClient.cpp", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 29 | "StagefrightMetadataRetriever.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 30 | "StagefrightRecorder.cpp", |
| 31 | "TestPlayerStub.cpp", |
| 32 | ], |
| 33 | |
| 34 | shared_libs: [ |
Marco Nelissen | a0c9841 | 2019-03-29 12:10:19 -0700 | [diff] [blame] | 35 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 36 | "android.hardware.media.omx@1.0", |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 37 | "av-types-aidl-cpp", |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 38 | "media_permission-aidl-cpp", |
| 39 | "libaudioclient_aidl_conversion", |
Lajos Molnar | 94e6597 | 2019-02-13 09:06:48 -0800 | [diff] [blame] | 40 | "libbase", |
Steven Moreland | 09226a7 | 2021-04-05 23:18:44 +0000 | [diff] [blame^] | 41 | "libactivitymanager_aidl", |
Byeongjo Park | 0f0ba39 | 2019-03-18 18:04:10 +0900 | [diff] [blame] | 42 | "libandroid_net", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 43 | "libaudioclient", |
| 44 | "libbinder", |
| 45 | "libcamera_client", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 46 | "libcodec2_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 47 | "libcrypto", |
| 48 | "libcutils", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 49 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 50 | "libdl", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 51 | "libdrmframework", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 52 | "libgui", |
| 53 | "libhidlbase", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 54 | "liblog", |
| 55 | "libmedia", |
Dongwon Kang | a42a62d | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 56 | "libmedia_codeclist", |
Jae Shin | 8568cb9 | 2017-10-30 11:13:36 +0900 | [diff] [blame] | 57 | "libmedia_omx", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 58 | "libmediadrm", |
| 59 | "libmediametrics", |
| 60 | "libmediautils", |
| 61 | "libmemunreachable", |
Dongwon Kang | b8d79f4 | 2018-11-01 17:43:20 -0700 | [diff] [blame] | 62 | "libnetd_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 63 | "libpowermanager", |
| 64 | "libstagefright", |
| 65 | "libstagefright_foundation", |
| 66 | "libstagefright_httplive", |
| 67 | "libutils", |
| 68 | ], |
| 69 | |
| 70 | header_libs: [ |
| 71 | "media_plugin_headers", |
| 72 | ], |
| 73 | |
| 74 | static_libs: [ |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 75 | "libplayerservice_datasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 76 | "libstagefright_nuplayer", |
| 77 | "libstagefright_rtsp", |
| 78 | "libstagefright_timedtext", |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 79 | "media_permission-aidl-cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 80 | ], |
| 81 | |
Philip P. Moltmann | bda4575 | 2020-07-17 16:41:18 -0700 | [diff] [blame] | 82 | export_shared_lib_headers: [ |
| 83 | "libmedia", |
| 84 | "media_permission-aidl-cpp", |
| 85 | ], |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 86 | |
| 87 | include_dirs: [ |
| 88 | "frameworks/av/media/libstagefright/rtsp", |
| 89 | "frameworks/av/media/libstagefright/webm", |
| 90 | ], |
| 91 | |
| 92 | local_include_dirs: ["include"], |
| 93 | |
| 94 | cflags: [ |
| 95 | "-Werror", |
| 96 | "-Wno-error=deprecated-declarations", |
| 97 | "-Wall", |
| 98 | ], |
| 99 | |
| 100 | name: "libmediaplayerservice", |
| 101 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 102 | sanitize: { |
| 103 | cfi: true, |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 104 | }, |
| 105 | |
| 106 | } |