Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 1 | cc_library_shared { |
| 2 | |
| 3 | srcs: [ |
| 4 | "ActivityManager.cpp", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 5 | "DeathNotifier.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 6 | "MediaPlayerFactory.cpp", |
| 7 | "MediaPlayerService.cpp", |
| 8 | "MediaRecorderClient.cpp", |
| 9 | "MetadataRetrieverClient.cpp", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame^] | 10 | "StagefrightMetadataRetriever.cpp", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 11 | "StagefrightRecorder.cpp", |
| 12 | "TestPlayerStub.cpp", |
| 13 | ], |
| 14 | |
| 15 | shared_libs: [ |
Marco Nelissen | a0c9841 | 2019-03-29 12:10:19 -0700 | [diff] [blame] | 16 | "android.hardware.media.c2@1.0", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 17 | "android.hardware.media.omx@1.0", |
Lajos Molnar | 94e6597 | 2019-02-13 09:06:48 -0800 | [diff] [blame] | 18 | "libbase", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 19 | "libaudioclient", |
| 20 | "libbinder", |
| 21 | "libcamera_client", |
Pawin Vongmasa | 270dd6a | 2019-04-06 04:41:15 -0700 | [diff] [blame] | 22 | "libcodec2_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 23 | "libcrypto", |
| 24 | "libcutils", |
Marco Nelissen | fa8be7d | 2019-09-23 12:15:57 -0700 | [diff] [blame] | 25 | "libdatasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 26 | "libdl", |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame^] | 27 | "libdrmframework", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 28 | "libgui", |
| 29 | "libhidlbase", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 30 | "liblog", |
| 31 | "libmedia", |
Dongwon Kang | a42a62d | 2019-09-23 17:48:14 -0700 | [diff] [blame] | 32 | "libmedia_codeclist", |
Jae Shin | 8568cb9 | 2017-10-30 11:13:36 +0900 | [diff] [blame] | 33 | "libmedia_omx", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 34 | "libmediadrm", |
| 35 | "libmediametrics", |
| 36 | "libmediautils", |
| 37 | "libmemunreachable", |
Dongwon Kang | b8d79f4 | 2018-11-01 17:43:20 -0700 | [diff] [blame] | 38 | "libnetd_client", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 39 | "libpowermanager", |
| 40 | "libstagefright", |
| 41 | "libstagefright_foundation", |
| 42 | "libstagefright_httplive", |
| 43 | "libutils", |
| 44 | ], |
| 45 | |
| 46 | header_libs: [ |
| 47 | "media_plugin_headers", |
| 48 | ], |
| 49 | |
| 50 | static_libs: [ |
Dongwon Kang | 9c6f790 | 2019-10-14 11:16:39 -0700 | [diff] [blame^] | 51 | "libplayerservice_datasource", |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 52 | "libstagefright_nuplayer", |
| 53 | "libstagefright_rtsp", |
| 54 | "libstagefright_timedtext", |
| 55 | ], |
| 56 | |
| 57 | export_shared_lib_headers: ["libmedia"], |
| 58 | |
| 59 | include_dirs: [ |
| 60 | "frameworks/av/media/libstagefright/rtsp", |
| 61 | "frameworks/av/media/libstagefright/webm", |
| 62 | ], |
| 63 | |
| 64 | local_include_dirs: ["include"], |
| 65 | |
| 66 | cflags: [ |
| 67 | "-Werror", |
| 68 | "-Wno-error=deprecated-declarations", |
| 69 | "-Wall", |
| 70 | ], |
| 71 | |
| 72 | name: "libmediaplayerservice", |
| 73 | |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 74 | sanitize: { |
| 75 | cfi: true, |
Pawin Vongmasa | b7798a0 | 2017-10-09 23:21:44 -0700 | [diff] [blame] | 76 | }, |
| 77 | |
| 78 | } |
| 79 | |