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