blob: 324f4ae0b1bdd1a9f0ebf84bd36661290560596e [file] [log] [blame]
Pawin Vongmasab7798a02017-10-09 23:21:44 -07001cc_library_shared {
2
3 srcs: [
4 "ActivityManager.cpp",
Pawin Vongmasa270dd6a2019-04-06 04:41:15 -07005 "DeathNotifier.cpp",
Pawin Vongmasab7798a02017-10-09 23:21:44 -07006 "MediaPlayerFactory.cpp",
7 "MediaPlayerService.cpp",
8 "MediaRecorderClient.cpp",
9 "MetadataRetrieverClient.cpp",
Dongwon Kang9c6f7902019-10-14 11:16:39 -070010 "StagefrightMetadataRetriever.cpp",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070011 "StagefrightRecorder.cpp",
12 "TestPlayerStub.cpp",
13 ],
14
15 shared_libs: [
Marco Nelissena0c98412019-03-29 12:10:19 -070016 "android.hardware.media.c2@1.0",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070017 "android.hardware.media.omx@1.0",
Lajos Molnar94e65972019-02-13 09:06:48 -080018 "libbase",
Byeongjo Park0f0ba392019-03-18 18:04:10 +090019 "libandroid_net",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070020 "libaudioclient",
21 "libbinder",
22 "libcamera_client",
Pawin Vongmasa270dd6a2019-04-06 04:41:15 -070023 "libcodec2_client",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070024 "libcrypto",
25 "libcutils",
Marco Nelissenfa8be7d2019-09-23 12:15:57 -070026 "libdatasource",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070027 "libdl",
Dongwon Kang9c6f7902019-10-14 11:16:39 -070028 "libdrmframework",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070029 "libgui",
30 "libhidlbase",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070031 "liblog",
32 "libmedia",
Dongwon Kanga42a62d2019-09-23 17:48:14 -070033 "libmedia_codeclist",
Jae Shin8568cb92017-10-30 11:13:36 +090034 "libmedia_omx",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070035 "libmediadrm",
36 "libmediametrics",
37 "libmediautils",
38 "libmemunreachable",
Dongwon Kangb8d79f42018-11-01 17:43:20 -070039 "libnetd_client",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070040 "libpowermanager",
41 "libstagefright",
42 "libstagefright_foundation",
43 "libstagefright_httplive",
44 "libutils",
45 ],
46
47 header_libs: [
48 "media_plugin_headers",
49 ],
50
51 static_libs: [
Dongwon Kang9c6f7902019-10-14 11:16:39 -070052 "libplayerservice_datasource",
Pawin Vongmasab7798a02017-10-09 23:21:44 -070053 "libstagefright_nuplayer",
54 "libstagefright_rtsp",
55 "libstagefright_timedtext",
56 ],
57
58 export_shared_lib_headers: ["libmedia"],
59
60 include_dirs: [
61 "frameworks/av/media/libstagefright/rtsp",
62 "frameworks/av/media/libstagefright/webm",
63 ],
64
65 local_include_dirs: ["include"],
66
67 cflags: [
68 "-Werror",
69 "-Wno-error=deprecated-declarations",
70 "-Wall",
71 ],
72
73 name: "libmediaplayerservice",
74
Pawin Vongmasab7798a02017-10-09 23:21:44 -070075 sanitize: {
76 cfi: true,
Pawin Vongmasab7798a02017-10-09 23:21:44 -070077 },
78
79}
80