blob: e188e54fb38a43c47ea16de75f173233afb364ed [file] [log] [blame]
Wei Jia4049f132018-01-22 10:37:31 -08001// TODO: change it back to cc_library_shared when there is a way to
2// expose media metrics as stable API.
3cc_library {
Colin Crossed56be22017-04-27 14:07:39 -07004 name: "libmediametrics",
5
6 srcs: [
7 "IMediaAnalyticsService.cpp",
8 "MediaAnalyticsItem.cpp",
Ray Essick20147322018-11-17 09:08:39 -08009 "MediaMetrics.cpp",
Colin Crossed56be22017-04-27 14:07:39 -070010 ],
11
12 shared_libs: [
Ray Essick20147322018-11-17 09:08:39 -080013 "libbinder",
14 "libcutils",
15 "liblog",
Ray Essick20147322018-11-17 09:08:39 -080016 "libutils",
Colin Crossed56be22017-04-27 14:07:39 -070017 ],
18
19 export_include_dirs: ["include"],
20
21 cflags: [
22 "-Werror",
23 "-Wno-error=deprecated-declarations",
24 "-Wall",
25 ],
26
27 sanitize: {
28 misc_undefined: [
29 "unsigned-integer-overflow",
30 "signed-integer-overflow",
31 ],
32 cfi: true,
Colin Crossed56be22017-04-27 14:07:39 -070033 },
Ray Essick20147322018-11-17 09:08:39 -080034
35 // enumerate the stable interface
36// this would mean nobody can use the C++ interface. have to rework some things.
37// stubs: {
38// symbol_file: "libmediametrics.map.txt",
39// versions: [
40// "1" ,
41// ]
42// },
Colin Crossed56be22017-04-27 14:07:39 -070043}