From 2c53c8073e36872ccf1b0acde5703f8fdcf95344 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Tue, 18 Feb 2025 02:14:08 +0100 Subject: [PATCH] libhwc2.1: fix compilation for exynos2100 Change-Id: Ifa67b6c2b280292110b47ff22011c67c0de6fe59 --- base/libhwc2.1/Android.bp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/base/libhwc2.1/Android.bp b/base/libhwc2.1/Android.bp index 27665c6..6d4c928 100644 --- a/base/libhwc2.1/Android.bp +++ b/base/libhwc2.1/Android.bp @@ -183,7 +183,17 @@ cc_library_shared { "libdrmresource", "libdrm", "libprocessgroup", - ], + ] + select(soong_config_variable("exynos_hwc", "target_soc_base"), { + "exynos2100": [ + "libhidlbase", + "android.hardware.power@1.0", + ], + "exynos9830": [ + "libhidlbase", + "android.hardware.power@1.0", + ], + default: [], + }), srcs: [ "device/ExynosDevice.cpp",