| // 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: [ |
| "libbinder", |
| "libcutils", |
| "liblog", |
| "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" , |
| // ] |
| // }, |
| } |