Commit 27cd4805 authored by Sean Paul's avatar Sean Paul 💬
Browse files

drm_hwcomposer: Organize files into subdirs



This is way overdue
Signed-off-by: Sean Paul's avatarSean Paul <seanpaul@chromium.org>

Change-Id: I1bcbd8fdb0bb03feafd76bc41f6f11c03cdf9c25
parent 17d3c8bb
Pipeline #41817 passed with stage
in 31 seconds
......@@ -18,7 +18,9 @@
cc_library_static {
name: "libdrmhwc_utils",
srcs: ["worker.cpp"],
srcs: ["utils/worker.cpp"],
include_dirs: ["external/drm_hwcomposer/include"],
cflags: [
"-Wall",
......@@ -45,6 +47,8 @@ cc_defaults {
"libutils",
],
include_dirs: ["external/drm_hwcomposer/include"],
static_libs: ["libdrmhwc_utils"],
cflags: [
......@@ -64,22 +68,26 @@ cc_library_static {
name: "drm_hwcomposer",
defaults: ["hwcomposer.drm_defaults"],
srcs: [
"autolock.cpp",
"resourcemanager.cpp",
"drmdevice.cpp",
"drmconnector.cpp",
"drmcrtc.cpp",
"drmdisplaycomposition.cpp",
"drmdisplaycompositor.cpp",
"drmencoder.cpp",
"drmeventlistener.cpp",
"drmhwctwo.cpp",
"drmmode.cpp",
"drmplane.cpp",
"drmproperty.cpp",
"hwcutils.cpp",
"platform.cpp",
"vsyncworker.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",
"utils/autolock.cpp",
"utils/hwcutils.cpp",
],
}
......@@ -87,7 +95,7 @@ cc_library_shared {
name: "hwcomposer.drm",
defaults: ["hwcomposer.drm_defaults"],
whole_static_libs: ["drm_hwcomposer"],
srcs: ["platformdrmgeneric.cpp"],
srcs: ["platform/platformdrmgeneric.cpp"],
cppflags: ["-DUSE_DRM_GENERIC_IMPORTER"],
}
......@@ -96,8 +104,8 @@ cc_library_shared {
defaults: ["hwcomposer.drm_defaults"],
whole_static_libs: ["drm_hwcomposer"],
srcs: [
"platformdrmgeneric.cpp",
"platformminigbm.cpp",
"platform/platformdrmgeneric.cpp",
"platform/platformminigbm.cpp",
],
include_dirs: ["external/minigbm/cros_gralloc"],
}
......@@ -106,8 +114,8 @@ cc_library_shared {
filegroup {
name: "drm_hwcomposer_platformhisi",
srcs: [
"platformdrmgeneric.cpp",
"platformhisi.cpp",
"platform/platformdrmgeneric.cpp",
"platform/platformhisi.cpp",
],
}
......@@ -115,7 +123,7 @@ filegroup {
filegroup {
name: "drm_hwcomposer_platformmeson",
srcs: [
"platformdrmgeneric.cpp",
"platformmeson.cpp",
"platform/platformdrmgeneric.cpp",
"platform/platformmeson.cpp",
],
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment