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