cc_library_static {
name: "libdrmhwc_utils",
- srcs: ["utils/worker.cpp"],
+ srcs: ["utils/Worker.cpp"],
include_dirs: [
- "external/drm_hwcomposer/include",
"external/drm_hwcomposer",
+ "external/drm_hwcomposer/include",
],
cflags: [
"libcutils",
"libdrm",
"libhardware",
+ "libhidlbase",
"liblog",
"libsync",
"libui",
],
include_dirs: [
- "external/drm_hwcomposer/include",
"external/drm_hwcomposer",
+ "external/drm_hwcomposer/include",
],
static_libs: ["libdrmhwc_utils"],
],
cppflags: [
- "-DHWC2_USE_CPP11",
"-DHWC2_INCLUDE_STRINGIFICATION",
+ "-DHWC2_USE_CPP11",
],
product_variables: {
relative_install_path: "hw",
vendor: true,
}
+
cc_library_static {
name: "drm_hwcomposer",
defaults: ["hwcomposer.drm_defaults"],
srcs: [
- "drmhwctwo.cpp",
-
- "compositor/drmdisplaycomposition.cpp",
- "compositor/drmdisplaycompositor.cpp",
-
- "drm/drmconnector.cpp",
- "drm/drmcrtc.cpp",
- "drm/drmdevice.cpp",
- "drm/drmencoder.cpp",
- "drm/drmeventlistener.cpp",
- "drm/drmmode.cpp",
- "drm/drmplane.cpp",
- "drm/drmproperty.cpp",
- "drm/resourcemanager.cpp",
- "drm/vsyncworker.cpp",
-
- "platform/platform.cpp",
+ "DrmHwcTwo.cpp",
+
+ "bufferinfo/BufferInfoGetter.cpp",
+ "bufferinfo/BufferInfoMapperMetadata.cpp",
+
+ "compositor/DrmDisplayComposition.cpp",
+ "compositor/DrmDisplayCompositor.cpp",
+ "compositor/Planner.cpp",
+
+ "drm/DrmConnector.cpp",
+ "drm/DrmCrtc.cpp",
+ "drm/DrmDevice.cpp",
+ "drm/DrmEncoder.cpp",
+ "drm/DrmEventListener.cpp",
+ "drm/DrmFbImporter.cpp",
+ "drm/DrmMode.cpp",
+ "drm/DrmPlane.cpp",
+ "drm/DrmProperty.cpp",
+ "drm/ResourceManager.cpp",
+ "drm/VSyncWorker.cpp",
"utils/autolock.cpp",
"utils/hwcutils.cpp",
- "backend/backendmanager.cpp",
- "backend/backend.cpp",
- "backend/backendclient.cpp",
- "backend/backendrcardu.cpp",
+ "backend/Backend.cpp",
+ "backend/BackendClient.cpp",
+ "backend/BackendManager.cpp",
+ "backend/BackendRCarDu.cpp",
],
}
name: "hwcomposer.drm",
defaults: ["hwcomposer.drm_defaults"],
whole_static_libs: ["drm_hwcomposer"],
- srcs: ["platform/platformdrmgeneric.cpp"],
- cppflags: ["-DUSE_DRM_GENERIC_IMPORTER"],
+ srcs: ["bufferinfo/legacy/BufferInfoLibdrm.cpp"],
}
cc_library_shared {
name: "hwcomposer.drm_minigbm",
defaults: ["hwcomposer.drm_defaults"],
whole_static_libs: ["drm_hwcomposer"],
- srcs: [
- "platform/platformdrmgeneric.cpp",
- "platform/platformminigbm.cpp",
- ],
+ srcs: ["bufferinfo/legacy/BufferInfoMinigbm.cpp"],
include_dirs: ["external/minigbm/cros_gralloc"],
}
// Used by hwcomposer.drm_imagination
filegroup {
name: "drm_hwcomposer_platformimagination",
- srcs: [
- "platform/platformdrmgeneric.cpp",
- "platform/platformimagination.cpp",
- ],
+ srcs: ["bufferinfo/legacy/BufferInfoImagination.cpp"],
}
// Used by hwcomposer.drm_hikey and hwcomposer.drm_hikey960
filegroup {
name: "drm_hwcomposer_platformhisi",
- srcs: [
- "platform/platformdrmgeneric.cpp",
- "platform/platformhisi.cpp",
- ],
+ srcs: ["bufferinfo/legacy/BufferInfoMaliHisi.cpp"],
}
// Used by hwcomposer.drm_meson
filegroup {
name: "drm_hwcomposer_platformmeson",
- srcs: [
- "platform/platformdrmgeneric.cpp",
- "platform/platformmeson.cpp",
- ],
+ srcs: ["bufferinfo/legacy/BufferInfoMaliMeson.cpp"],
+}
+
+// Used by hwcomposer.drm_mediatek
+filegroup {
+ name: "drm_hwcomposer_platformmediatek",
+ srcs: ["bufferinfo/legacy/BufferInfoMaliMediatek.cpp"],
}