1cc_library_static { 2 name: "android.hardware.health@1.0-convert", 3 vendor_available: true, 4 recovery_available: true, 5 srcs: ["convert.cpp"], 6 include_dirs: [ 7 "system/core/base/include", 8 ], 9 header_libs: ["libhealthd_headers"], 10 export_header_lib_headers: ["libhealthd_headers"], 11 export_include_dirs: ["include"], 12 shared_libs: [ 13 "libcutils", 14 "libhidlbase", 15 "libutils", 16 "android.hardware.health@1.0", 17 ], 18 19} 20 21cc_library_static { 22 name: "android.hardware.health@1.0-impl-helper", 23 vendor: true, 24 srcs: ["Health.cpp"], 25 26 header_libs: [ 27 "libbase_headers", 28 "libhealthd_headers", 29 ], 30 31 shared_libs: [ 32 "libcutils", 33 "libhidlbase", 34 "liblog", 35 "libutils", 36 "android.hardware.health@1.0", 37 ], 38 39 static_libs: [ 40 "android.hardware.health@1.0-convert", 41 ], 42} 43 44cc_library_shared { 45 name: "android.hardware.health@1.0-impl", 46 vendor: true, 47 relative_install_path: "hw", 48 49 static_libs: [ 50 "android.hardware.health@1.0-impl-helper", 51 "android.hardware.health@1.0-convert", 52 "libhealthd.default", 53 ], 54} 55 56cc_binary { 57 name: "android.hardware.health@1.0-service", 58 vendor: true, 59 relative_install_path: "hw", 60 init_rc: ["android.hardware.health@1.0-service.rc"], 61 srcs: ["HealthService.cpp"], 62 63 shared_libs: [ 64 "liblog", 65 "libcutils", 66 "libdl", 67 "libbase", 68 "libutils", 69 "libhidlbase", 70 "android.hardware.health@1.0", 71 ], 72} 73