blob: 8f8c47891e79eea5377c5ff0fb797f678d1dbda7 [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: [
Colin Crossed56be22017-04-27 14:07:39 -070013 "libbase",
Ray Essick20147322018-11-17 09:08:39 -080014 "libbinder",
15 "libcutils",
16 "liblog",
17 "libstagefright_foundation",
18 "libutils",
Colin Crossed56be22017-04-27 14:07:39 -070019 ],
20
21 export_include_dirs: ["include"],
22
23 cflags: [
24 "-Werror",
25 "-Wno-error=deprecated-declarations",
26 "-Wall",
27 ],
28
29 sanitize: {
30 misc_undefined: [
31 "unsigned-integer-overflow",
32 "signed-integer-overflow",
33 ],
34 cfi: true,
Colin Crossed56be22017-04-27 14:07:39 -070035 },
Ray Essick20147322018-11-17 09:08:39 -080036
37 // enumerate the stable interface
38// this would mean nobody can use the C++ interface. have to rework some things.
39// stubs: {
40// symbol_file: "libmediametrics.map.txt",
41// versions: [
42// "1" ,
43// ]
44// },
Colin Crossed56be22017-04-27 14:07:39 -070045}