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 "liblog", 17 "libutils", 18 ], 19 cflags: ["-DLOG_TAG=\"AllocatorHal\""], 20} 21 22cc_binary { 23 name: "android.hardware.graphics.allocator@2.0-service", 24 defaults: ["hidl_defaults"], 25 proprietary: true, 26 relative_install_path: "hw", 27 srcs: ["service.cpp"], 28 init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"], 29 30 shared_libs: [ 31 "android.hardware.graphics.allocator@2.0", 32 "libhidlbase", 33 "liblog", 34 "libutils", 35 ], 36} 37