hardware/qcom/display: fix build for other targets

Change-Id: I00ac616975dcedef9bbdd48be82baaa1f1674667
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/Android.mk b/Android.mk
index 73024a0..124c709 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,9 +1,8 @@
-#Enables the listed display HAL modules
+ifneq ($(filter msm8960,$(TARGET_BOARD_PLATFORM)),)
 
 display-hals := libqcomui
-#libs to be built for QCOM targets only
-#ifeq ($(call is-vendor-board-platform,QCOM),true)
 display-hals += libgralloc libgenlock libcopybit libhwcomposer liboverlay
-#endif
 
 include $(call all-named-subdir-makefiles,$(display-hals))
+
+endif