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", |
Lajos Molnar | 94e6597 | 2019-02-13 09:06:48 -0800 | [diff] [blame] | 38 | "libbase", |
Byeongjo Park | 0f0ba39 | 2019-03-18 18:04:10 +0900 | [diff] [blame] | 39 | "libandroid_net", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 40 | "libaudioclient", |
| 41 | "libbinder", |
| 42 | "libcamera_client", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 43 | "libcodec2_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 44 | "libcrypto", |
| 45 | "libcutils", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 46 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 47 | "libdl", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 48 | "libdrmframework", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 49 | "libgui", |
| 50 | "libhidlbase", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 51 | "liblog", |
| 52 | "libmedia", |
Dongwon Kang | a42a62d | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 53 | "libmedia_codeclist", |
Jae Shin | 8568cb9 | 2017-10-30 11:13:36 +0900 | [diff] [blame] | 54 | "libmedia_omx", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 55 | "libmediadrm", |
| 56 | "libmediametrics", |
| 57 | "libmediautils", |
| 58 | "libmemunreachable", |
Dongwon Kang | b8d79f4 | 2018-11-01 17:43:20 -0700 | [diff] [blame] | 59 | "libnetd_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 60 | "libpowermanager", |
| 61 | "libstagefright", |
| 62 | "libstagefright_foundation", |
| 63 | "libstagefright_httplive", |
| 64 | "libutils", |
| 65 | ], |
| 66 | |
| 67 | header_libs: [ |
| 68 | "media_plugin_headers", |
| 69 | ], |
| 70 | |
| 71 | static_libs: [ |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame] | 72 | "libplayerservice_datasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 73 | "libstagefright_nuplayer", |
| 74 | "libstagefright_rtsp", |
| 75 | "libstagefright_timedtext", |
| 76 | ], |
| 77 | |
| 78 | export_shared_lib_headers: ["libmedia"], |
| 79 | |
| 80 | include_dirs: [ |
| 81 | "frameworks/av/media/libstagefright/rtsp", |
| 82 | "frameworks/av/media/libstagefright/webm", |
| 83 | ], |
| 84 | |
| 85 | local_include_dirs: ["include"], |
| 86 | |
| 87 | cflags: [ |
| 88 | "-Werror", |
| 89 | "-Wno-error=deprecated-declarations", |
| 90 | "-Wall", |
| 91 | ], |
| 92 | |
| 93 | name: "libmediaplayerservice", |
| 94 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 95 | sanitize: { |
| 96 | cfi: true, |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 97 | }, |
| 98 | |
| 99 | } |