summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2023-12-16 00:07:30 +0200
committeralk3pInjection <webmaster@raspii.tech>2024-02-04 18:17:18 +0800
commitc6ed98e589fc5011daf5867f83285b9aada7a852 (patch)
tree5e08fc48c7add79d371d8cb611929bd22505ea25
parent99dc5c54bf38e857112926788975ca8b6763d65b (diff)
hwc: Depend on qti kernel headers
Change-Id: If1b72ad7b36d658bc85587bbea6caf85e520519d
-rw-r--r--hwc3/Android.mk1
-rw-r--r--libhwc2.1/Android.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/hwc3/Android.mk b/hwc3/Android.mk
index 28ed88d..daa14a5 100644
--- a/hwc3/Android.mk
+++ b/hwc3/Android.mk
@@ -54,6 +54,7 @@ LOCAL_HEADER_LIBRARIES := \
android.hardware.graphics.composer3-command-buffer \
google_hal_headers \
libgralloc_headers
+LOCAL_HEADER_LIBRARIES += qti_kernel_headers
LOCAL_C_INCLUDES := \
$(TOP)/hardware/google/graphics/common/include \
diff --git a/libhwc2.1/Android.mk b/libhwc2.1/Android.mk
index 1e23ab7..9800081 100644
--- a/libhwc2.1/Android.mk
+++ b/libhwc2.1/Android.mk
@@ -22,6 +22,7 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libcutils libdrm liblog libutils libhardware
+LOCAL_HEADER_LIBRARIES += qti_kernel_headers
LOCAL_PROPRIETARY_MODULE := true
@@ -78,6 +79,7 @@ LOCAL_HEADER_LIBRARIES := libhardware_legacy_headers \
libbinder_headers google_hal_headers \
libgralloc_headers \
android.hardware.graphics.common-V3-ndk_headers
+LOCAL_HEADER_LIBRARIES += qti_kernel_headers
LOCAL_STATIC_LIBRARIES += libVendorVideoApi
LOCAL_STATIC_LIBRARIES += libjsoncpp
@@ -156,6 +158,7 @@ include $(CLEAR_VARS)
LOCAL_HEADER_LIBRARIES := libhardware_legacy_headers libbinder_headers google_hal_headers
LOCAL_HEADER_LIBRARIES += libgralloc_headers
+LOCAL_HEADER_LIBRARIES += qti_kernel_headers
LOCAL_SHARED_LIBRARIES := liblog libcutils libutils libbinder libexynosdisplay libacryl \
android.hardware.graphics.composer@2.4 \
android.hardware.graphics.allocator@2.0 \
@@ -231,6 +234,7 @@ LOCAL_SHARED_LIBRARIES += android.hardware.graphics.composer3-V2-ndk \
LOCAL_PROPRIETARY_MODULE := true
LOCAL_HEADER_LIBRARIES := libhardware_legacy_headers libbinder_headers google_hal_headers
LOCAL_HEADER_LIBRARIES += libgralloc_headers
+LOCAL_HEADER_LIBRARIES += qti_kernel_headers
LOCAL_CFLAGS := -DHLOG_CODE=0
LOCAL_CFLAGS += -DLOG_TAG=\"hwc-2\"