Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 1 | // Media Statistics service |
| 2 | // |
| 3 | |
| 4 | cc_binary { |
| 5 | name: "mediametrics", |
| 6 | |
| 7 | srcs: [ |
| 8 | "main_mediametrics.cpp", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 9 | ], |
| 10 | |
| 11 | shared_libs: [ |
| 12 | "libbinder", |
| 13 | "liblog", |
Ray Essick | 40e8e5e | 2019-12-05 20:19:40 -0800 | [diff] [blame^] | 14 | "libmediametricsservice", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 15 | "libutils", |
| 16 | ], |
| 17 | |
| 18 | init_rc: [ |
| 19 | "mediametrics.rc", |
| 20 | ], |
| 21 | |
| 22 | cflags: [ |
| 23 | "-Wall", |
| 24 | "-Werror", |
| 25 | "-Wextra", |
| 26 | ], |
| 27 | } |
| 28 | |
| 29 | cc_library_shared { |
Ray Essick | 40e8e5e | 2019-12-05 20:19:40 -0800 | [diff] [blame^] | 30 | name: "libmediametricsservice", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 31 | |
| 32 | srcs: [ |
Andy Hung | 06f3aba | 2019-12-03 16:36:42 -0800 | [diff] [blame] | 33 | "AudioAnalytics.cpp", |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 34 | "iface_statsd.cpp", |
Ray Essick | 40e8e5e | 2019-12-05 20:19:40 -0800 | [diff] [blame^] | 35 | "MediaMetricsService.cpp", |
Ray Essick | 6ce27e5 | 2019-02-15 10:58:05 -0800 | [diff] [blame] | 36 | "statsd_audiopolicy.cpp", |
| 37 | "statsd_audiorecord.cpp", |
| 38 | "statsd_audiothread.cpp", |
| 39 | "statsd_audiotrack.cpp", |
| 40 | "statsd_codec.cpp", |
| 41 | "statsd_drm.cpp", |
| 42 | "statsd_extractor.cpp", |
| 43 | "statsd_nuplayer.cpp", |
| 44 | "statsd_recorder.cpp", |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 45 | ], |
| 46 | |
Ray Essick | 6ce27e5 | 2019-02-15 10:58:05 -0800 | [diff] [blame] | 47 | proto: { |
| 48 | type: "lite", |
| 49 | }, |
| 50 | |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 51 | shared_libs: [ |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 52 | "libbinder", |
Andy Hung | 17dbaf2 | 2019-10-11 14:06:31 -0700 | [diff] [blame] | 53 | "liblog", |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 54 | "libmediametrics", |
Andy Hung | 17dbaf2 | 2019-10-11 14:06:31 -0700 | [diff] [blame] | 55 | "libprotobuf-cpp-lite", |
Ray Essick | 6ce27e5 | 2019-02-15 10:58:05 -0800 | [diff] [blame] | 56 | "libstatslog", |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 57 | "libutils", |
| 58 | ], |
| 59 | |
Ray Essick | 6ce27e5 | 2019-02-15 10:58:05 -0800 | [diff] [blame] | 60 | static_libs: [ |
| 61 | "libplatformprotos", |
Ray Essick | 6ce27e5 | 2019-02-15 10:58:05 -0800 | [diff] [blame] | 62 | ], |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 63 | |
| 64 | include_dirs: [ |
Andy Hung | c89c8dc | 2019-10-16 17:48:21 -0700 | [diff] [blame] | 65 | "system/media/audio_utils/include", |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 66 | ], |
| 67 | |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 68 | cflags: [ |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 69 | "-Wall", |
Andy Hung | 17dbaf2 | 2019-10-11 14:06:31 -0700 | [diff] [blame] | 70 | "-Werror", |
| 71 | "-Wextra", |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 72 | ], |
Anton Hansson | 33de46e | 2019-02-01 11:17:57 +0000 | [diff] [blame] | 73 | } |