Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Don't build lights module if vendor supplies it
Browse files Browse the repository at this point in the history
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
  • Loading branch information
hyperb1iss authored and ArianK16a committed Nov 30, 2021
1 parent 41b5d29 commit d10bc9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ sdm-libs := sdm/libs
display-hals := include $(sdm-libs)/utils $(sdm-libs)/core libdebug

ifneq ($(TARGET_IS_HEADLESS), true)
display-hals += libcopybit liblight libmemtrack hdmi_cec \
display-hals += libcopybit libmemtrack hdmi_cec \
$(sdm-libs)/hwc2 gpu_tonemapper libdrmutils
endif

display-hals += gralloc

ifneq ($(TARGET_PROVIDES_LIBLIGHT),true)
display-hals += liblight
endif

ifeq ($(call is-vendor-board-platform,QCOM),true)
include $(call all-named-subdir-makefiles,$(display-hals))
else
Expand Down

0 comments on commit d10bc9b

Please sign in to comment.