1cc_library_shared { 2 name: "android.hardware.sensors@1.0-impl", 3 defaults: ["hidl_defaults"], 4 proprietary: true, 5 relative_install_path: "hw", 6 srcs: ["Sensors.cpp"], 7 shared_libs: [ 8 "liblog", 9 "libcutils", 10 "libhardware", 11 "libbase", 12 "libutils", 13 "libhidlbase", 14 "android.hardware.sensors@1.0", 15 ], 16 static_libs: [ 17 "android.hardware.sensors@1.0-convert", 18 "multihal", 19 ], 20 local_include_dirs: ["include/sensors"], 21} 22 23cc_library_static { 24 name: "android.hardware.sensors@1.0-convert", 25 vendor_available: true, 26 defaults: ["hidl_defaults"], 27 srcs: ["convert.cpp"], 28 export_include_dirs: ["include"], 29 shared_libs: [ 30 "liblog", 31 "libcutils", 32 "libhardware", 33 "libbase", 34 "libutils", 35 "libhidlbase", 36 "android.hardware.sensors@1.0", 37 ], 38 local_include_dirs: ["include/sensors"], 39 export_shared_lib_headers: [ 40 "libhardware", 41 ], 42} 43 44cc_binary { 45 name: "android.hardware.sensors@1.0-service", 46 relative_install_path: "hw", 47 vendor: true, 48 init_rc: ["android.hardware.sensors@1.0-service.rc"], 49 srcs: ["service.cpp"], 50 51 shared_libs: [ 52 "liblog", 53 "libcutils", 54 "libdl", 55 "libbase", 56 "libutils", 57 "libhidlbase", 58 "android.hardware.sensors@1.0", 59 ], 60} 61