blob: 8f8c47891e79eea5377c5ff0fb797f678d1dbda7 [file] [log] [blame]
// TODO: change it back to cc_library_shared when there is a way to
// expose media metrics as stable API.
cc_library {
name: "libmediametrics",
srcs: [
"IMediaAnalyticsService.cpp",
"MediaAnalyticsItem.cpp",
"MediaMetrics.cpp",
],
shared_libs: [
"libbase",
"libbinder",
"libcutils",
"liblog",
"libstagefright_foundation",
"libutils",
],
export_include_dirs: ["include"],
cflags: [
"-Werror",
"-Wno-error=deprecated-declarations",
"-Wall",
],
sanitize: {
misc_undefined: [
"unsigned-integer-overflow",
"signed-integer-overflow",
],
cfi: true,
},
// enumerate the stable interface
// this would mean nobody can use the C++ interface. have to rework some things.
// stubs: {
// symbol_file: "libmediametrics.map.txt",
// versions: [
// "1" ,
// ]
// },
}