Yifan Hong | 4ad11a9 | 2018-01-22 11:26:01 -0800 | [diff] [blame^] | 1 | // Reasonable defaults for android.hardware.health@2.0-service.<device>. |
| 2 | // Vendor service can customize by implementing functions defined in |
| 3 | // libhealthd and libhealthstoragedefault. |
| 4 | |
| 5 | |
| 6 | cc_library_static { |
| 7 | name: "libhealthservice", |
| 8 | vendor_available: true, |
| 9 | srcs: ["HealthServiceCommon.cpp"], |
| 10 | |
| 11 | export_include_dirs: ["include"], |
| 12 | |
| 13 | cflags: [ |
| 14 | "-Wall", |
| 15 | "-Werror", |
| 16 | ], |
| 17 | shared_libs: [ |
| 18 | "android.hardware.health@2.0", |
| 19 | ], |
| 20 | static_libs: [ |
| 21 | "android.hardware.health@2.0-impl", |
| 22 | "android.hardware.health@1.0-convert", |
| 23 | ], |
| 24 | export_static_lib_headers: [ |
| 25 | "android.hardware.health@1.0-convert", |
| 26 | ], |
| 27 | header_libs: ["libhealthd_headers"], |
| 28 | export_header_lib_headers: ["libhealthd_headers"], |
| 29 | } |