1cc_library_shared { 2 name: "android.hardware.graphics.allocator@2.0-impl", 3 defaults: ["hidl_defaults"], 4 vendor: true, 5 relative_install_path: "hw", 6 srcs: ["passthrough.cpp"], 7 header_libs: [ 8 "android.hardware.graphics.allocator@2.0-passthrough", 9 ], 10 shared_libs: [ 11 "android.hardware.graphics.allocator@2.0", 12 "libbase", 13 "libcutils", 14 "libhardware", 15 "libhidlbase", 16 "libhidltransport", 17 "liblog", 18 "libutils", 19 ], 20 cflags: ["-DLOG_TAG=\"AllocatorHal\""], 21} 22 23cc_binary { 24 name: "android.hardware.graphics.allocator@2.0-service", 25 defaults: ["hidl_defaults"], 26 proprietary: true, 27 relative_install_path: "hw", 28 srcs: ["service.cpp"], 29 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"], 30 31 shared_libs: [ 32 "android.hardware.graphics.allocator@2.0", 33 "libhidlbase", 34 "libhidltransport", 35 "liblog", 36 "libutils", 37 ], 38} 39