1cc_library_shared { 2 3 srcs: [ 4 "ActivityManager.cpp", 5 "DeathNotifier.cpp", 6 "MediaPlayerFactory.cpp", 7 "MediaPlayerService.cpp", 8 "MediaRecorderClient.cpp", 9 "MetadataRetrieverClient.cpp", 10 "StagefrightMetadataRetriever.cpp", 11 "StagefrightRecorder.cpp", 12 "TestPlayerStub.cpp", 13 ], 14 15 shared_libs: [ 16 "android.hardware.media.c2@1.0", 17 "android.hardware.media.omx@1.0", 18 "libbase", 19 "libaudioclient", 20 "libbinder", 21 "libcamera_client", 22 "libcodec2_client", 23 "libcrypto", 24 "libcutils", 25 "libdatasource", 26 "libdl", 27 "libdrmframework", 28 "libgui", 29 "libhidlbase", 30 "liblog", 31 "libmedia", 32 "libmedia_codeclist", 33 "libmedia_omx", 34 "libmediadrm", 35 "libmediametrics", 36 "libmediautils", 37 "libmemunreachable", 38 "libnetd_client", 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: [ 51 "libplayerservice_datasource", 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 74 sanitize: { 75 cfi: true, 76 }, 77 78} 79 80