Colin Cross | ed56be2 | 2017-04-27 14:07:39 -0700 | [diff] [blame^] | 1 | cc_library_shared { |
| 2 | name: "libmediametrics", |
| 3 | |
| 4 | srcs: [ |
| 5 | "IMediaAnalyticsService.cpp", |
| 6 | "MediaAnalyticsItem.cpp", |
| 7 | ], |
| 8 | |
| 9 | shared_libs: [ |
| 10 | "liblog", |
| 11 | "libcutils", |
| 12 | "libutils", |
| 13 | "libbinder", |
| 14 | "libstagefright_foundation", |
| 15 | "libbase", |
| 16 | ], |
| 17 | |
| 18 | export_include_dirs: ["include"], |
| 19 | |
| 20 | cflags: [ |
| 21 | "-Werror", |
| 22 | "-Wno-error=deprecated-declarations", |
| 23 | "-Wall", |
| 24 | ], |
| 25 | |
| 26 | sanitize: { |
| 27 | misc_undefined: [ |
| 28 | "unsigned-integer-overflow", |
| 29 | "signed-integer-overflow", |
| 30 | ], |
| 31 | cfi: true, |
| 32 | diag: { |
| 33 | cfi: true, |
| 34 | }, |
| 35 | }, |
| 36 | } |