blob: 07e124b0eaf42a5ae4d33e0760655f64a94de547 [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",
9 ],
10
11 shared_libs: [
12 "liblog",
13 "libcutils",
14 "libutils",
15 "libbinder",
16 "libstagefright_foundation",
17 "libbase",
18 ],
19
20 export_include_dirs: ["include"],
21
22 cflags: [
23 "-Werror",
24 "-Wno-error=deprecated-declarations",
25 "-Wall",
26 ],
27
28 sanitize: {
29 misc_undefined: [
30 "unsigned-integer-overflow",
31 "signed-integer-overflow",
32 ],
33 cfi: true,
34 diag: {
35 cfi: true,
36 },
37 },
38}