• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// TODO: change it back to cc_library_shared when there is a way to
2// expose media metrics as stable API.
3cc_library {
4    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}
39