1// Media Statistics service 2// 3 4cc_binary { 5 name: "mediametrics", 6 7 srcs: [ 8 "main_mediametrics.cpp", 9 "MediaAnalyticsService.cpp", 10 "iface_statsd.cpp", 11 "statsd_audiopolicy.cpp", 12 "statsd_audiorecord.cpp", 13 "statsd_audiothread.cpp", 14 "statsd_audiotrack.cpp", 15 "statsd_codec.cpp", 16 "statsd_drm.cpp", 17 "statsd_extractor.cpp", 18 "statsd_nuplayer.cpp", 19 "statsd_recorder.cpp", 20 ], 21 22 proto: { 23 type: "lite", 24 }, 25 26 shared_libs: [ 27 "libcutils", 28 "liblog", 29 "libmedia", 30 "libutils", 31 "libbinder", 32 "libdl", 33 "libgui", 34 "libmedia", 35 "libmediautils", 36 "libmediametrics", 37 "libstagefright_foundation", 38 "libstatslog", 39 "libutils", 40 "libprotobuf-cpp-lite", 41 ], 42 43 static_libs: [ 44 "libplatformprotos", 45 "libregistermsext", 46 ], 47 48 include_dirs: [ 49 "frameworks/av/media/libstagefright/include", 50 "frameworks/av/media/libstagefright/rtsp", 51 "frameworks/av/media/libstagefright/webm", 52 "frameworks/av/include/media", 53 "frameworks/av/include/camera", 54 "frameworks/native/include/media/openmax", 55 "frameworks/native/include/media/hardware", 56 "external/tremolo/Tremolo", 57 ], 58 59 init_rc: ["mediametrics.rc"], 60 61 cflags: [ 62 "-Werror", 63 "-Wall", 64 "-Wno-error=deprecated-declarations", 65 ], 66 clang: true, 67 68} 69