1cc_library_shared { 2 3 srcs: [ 4 "ActivityManager.cpp", 5 "MediaPlayerFactory.cpp", 6 "MediaPlayerService.cpp", 7 "MediaRecorderClient.cpp", 8 "MetadataRetrieverClient.cpp", 9 "StagefrightRecorder.cpp", 10 "TestPlayerStub.cpp", 11 ], 12 13 shared_libs: [ 14 "android.hardware.media.omx@1.0", 15 "libaudioclient", 16 "libbinder", 17 "libcamera_client", 18 "libcrypto", 19 "libcutils", 20 "libdl", 21 "libgui", 22 "libhidlbase", 23 "libhidlmemory", 24 "liblog", 25 "libmedia", 26 "libmedia_omx", 27 "libmediaextractor", 28 "libmediadrm", 29 "libmediametrics", 30 "libmediautils", 31 "libmemunreachable", 32 "libpowermanager", 33 "libstagefright", 34 "libstagefright_foundation", 35 "libstagefright_httplive", 36 "libutils", 37 ], 38 39 header_libs: [ 40 "media_plugin_headers", 41 ], 42 43 static_libs: [ 44 "libstagefright_nuplayer", 45 "libstagefright_rtsp", 46 "libstagefright_timedtext", 47 ], 48 49 export_shared_lib_headers: ["libmedia"], 50 51 include_dirs: [ 52 "frameworks/av/media/libstagefright/rtsp", 53 "frameworks/av/media/libstagefright/webm", 54 ], 55 56 local_include_dirs: ["include"], 57 58 cflags: [ 59 "-Werror", 60 "-Wno-error=deprecated-declarations", 61 "-Wall", 62 ], 63 64 name: "libmediaplayerservice", 65 66 compile_multilib: "32", 67 68 sanitize: { 69 cfi: true, 70 diag: { 71 cfi: true, 72 }, 73 }, 74 75} 76 77subdirs = ["*"] 78 79