1
0
Fork 0

drm_hwcomposer: Remove hwc2 usage from common code

No longer need to #include the hwcomposer2 headers in common code.

Pull the hwc2 specific files into a different filegroup. There is no
need to build these for hwc3. Additionally, no need for hwc2-specific
CPPFLAGS in common or hwc3 code.

Change-Id: Ie194e9dc4b0d8f7b900227bd5d3b73efc692d975
This commit is contained in:
Drew Davenport 2025-05-21 10:29:30 -06:00
parent d34c094030
commit 9d3be012fd
6 changed files with 12 additions and 17 deletions

View file

@ -21,7 +21,7 @@
#include "BackendManager.h"
#include "bufferinfo/BufferInfoGetter.h"
#include "hardware/hwcomposer2.h"
#include "drm/DrmHwc.h"
namespace android {

View file

@ -16,7 +16,9 @@
#pragma once
#include "hwc2_device/DrmHwcTwo.h"
#include <vector>
#include "hwc2_device/HwcDisplay.h"
namespace android {