Skip to content

Commit

Permalink
display: add TARGET_PROVIDES_LIBLIGHT
Browse files Browse the repository at this point in the history
ps1: Initial port to cm-12.0
ps2: Add 8084 and 8226

Change-Id: I9388f3582d74b4b569e2807e4ec6177dc50f38d0
  • Loading branch information
Giulio Cervera authored and chirayudesai committed Aug 25, 2016
1 parent 9a38fe2 commit 03d9bfb
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 7 deletions.
6 changes: 5 additions & 1 deletion msm8084/Android.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
display-hals := libgralloc libcopybit liblight libvirtual
display-hals := libgralloc libcopybit libvirtual
display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
display-hals += libmemtrack
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
6 changes: 5 additions & 1 deletion msm8226/Android.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
display-hals := libgralloc libcopybit liblight libvirtual
display-hals := libgralloc libcopybit libvirtual
display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
display-hals += libmemtrack
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
6 changes: 5 additions & 1 deletion msm8909/Android.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
display-hals := libgralloc libgenlock libcopybit liblight
display-hals := libgralloc libgenlock libcopybit
display-hals += libhwcomposer liboverlay libqdutils libhdmi libqservice
display-hals += libmemtrack
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
6 changes: 5 additions & 1 deletion msm8960/Android.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
display-hals := libgralloc libgenlock libcopybit liblight
display-hals := libgralloc libgenlock libcopybit
display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
display-hals += libmemtrack
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
6 changes: 5 additions & 1 deletion msm8974/Android.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
display-hals := libgralloc libgenlock libcopybit liblight
display-hals := libgralloc libgenlock libcopybit
display-hals += libhwcomposer liboverlay libqdutils libexternal libqservice
display-hals += libmemtrack
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
5 changes: 4 additions & 1 deletion msm8994/Android.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
display-hals := libgralloc libcopybit liblight libmemtrack libqservice
display-hals := libgralloc libcopybit libmemtrack libqservice
display-hals += libhwcomposer liboverlay libqdutils libhdmi
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))
Expand Down
5 changes: 4 additions & 1 deletion msm8996/Android.mk
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
display-hals := libgralloc libcopybit liblight libmemtrack libqservice libqdutils
display-hals := libgralloc libcopybit libmemtrack libqservice libqdutils
display-hals += hdmi_cec

sdm-libs := sdm/libs
display-hals += $(sdm-libs)/utils $(sdm-libs)/core $(sdm-libs)/hwc
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))
Expand Down

0 comments on commit 03d9bfb

Please sign in to comment.