mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 23:48:30 +00:00
FB (framebuffer) HAL has been replaced by HWC HAL for 5+ years, but we still support the legacy path in SurfaceFlinger. Devices using the legacy path cannot be Treblized. This change allows such devices to use HIDL IComposer, by adding support for FB HAL in the default implementation. Test: boots hikey960 Change-Id: Ie9050bbcaac0fd5b134786f4f9f0f5075f4ebd0c
75 lines
1.8 KiB
Plaintext
75 lines
1.8 KiB
Plaintext
cc_library_static {
|
|
name: "libhwcomposer-client",
|
|
vendor_available: true,
|
|
defaults: ["hidl_defaults"],
|
|
export_include_dirs: ["."],
|
|
srcs: ["ComposerClient.cpp"],
|
|
shared_libs: [
|
|
"android.hardware.graphics.composer@2.1",
|
|
"android.hardware.graphics.mapper@2.0",
|
|
"libbase",
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libsync",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "android.hardware.graphics.composer@2.1-impl",
|
|
defaults: ["hidl_defaults"],
|
|
proprietary: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["Hwc.cpp"],
|
|
static_libs: ["libhwcomposer-client"],
|
|
shared_libs: [
|
|
"android.hardware.graphics.composer@2.1",
|
|
"android.hardware.graphics.mapper@2.0",
|
|
"libbase",
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libsync",
|
|
"libutils",
|
|
"libhwc2on1adapter",
|
|
"libhwc2onfbadapter",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.graphics.composer@2.1-service",
|
|
defaults: ["hidl_defaults"],
|
|
proprietary: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["service.cpp"],
|
|
init_rc: ["android.hardware.graphics.composer@2.1-service.rc"],
|
|
static_libs: ["libhwcomposer-client"],
|
|
shared_libs: [
|
|
"android.hardware.graphics.composer@2.1",
|
|
"libbase",
|
|
"libbinder",
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhardware",
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libsync",
|
|
"libutils",
|
|
],
|
|
}
|
|
|
|
cc_library_static {
|
|
name: "libhwcomposer-command-buffer",
|
|
defaults: ["hidl_defaults"],
|
|
shared_libs: ["android.hardware.graphics.composer@2.1"],
|
|
export_include_dirs: ["."],
|
|
}
|