mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Convert the default impl into a static library, android.hardware.graphics.allocator@2.0-passthrough. Test: boots and VTS Change-Id: I8ec8b30766462ecb3fb789af7c6dbb3c088ccf57
38 lines
937 B
Plaintext
38 lines
937 B
Plaintext
cc_library_shared {
|
|
name: "android.hardware.graphics.allocator@2.0-impl",
|
|
defaults: ["hidl_defaults"],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["Gralloc.cpp"],
|
|
static_libs: [
|
|
"android.hardware.graphics.allocator@2.0-passthrough",
|
|
],
|
|
shared_libs: [
|
|
"android.hardware.graphics.allocator@2.0",
|
|
"libbase",
|
|
"libcutils",
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.graphics.allocator@2.0-service",
|
|
defaults: ["hidl_defaults"],
|
|
proprietary: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["service.cpp"],
|
|
init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
|
|
|
|
shared_libs: [
|
|
"android.hardware.graphics.allocator@2.0",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libutils",
|
|
],
|
|
}
|