From 022c7668c483eb3cfbdf671ab84d14618ad91780 Mon Sep 17 00:00:00 2001 From: Neti Ravi Kumar Date: Tue, 7 Feb 2012 11:15:58 +0530 Subject: [PATCH] Define HDMI_AS_PRIMARY flag based on TARGET_USE_HDMI_AS_PRIMARY S3D code is being conditionally compiled with HDMI_AS_PRIMARY. So it is necessary to enable this flag, if board file indicates HDMI as primary display (cherry picked from commit dfc3782b8f23a6aadec9fd7501807778b0d3c542) Change-Id: I3f6f84d76a3f7f5a3f83aa5ec31012b13b16431b --- libhwcomposer/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhwcomposer/Android.mk b/libhwcomposer/Android.mk index 4e8add8..b2ef60c 100644 --- a/libhwcomposer/Android.mk +++ b/libhwcomposer/Android.mk @@ -33,7 +33,7 @@ ifeq ($(TARGET_HAVE_BYPASS),true) LOCAL_CFLAGS += -DCOMPOSITION_BYPASS endif ifeq ($(TARGET_USE_HDMI_AS_PRIMARY),true) -#LOCAL_CFLAGS += -DHDMI_AS_PRIMARY +LOCAL_CFLAGS += -DHDMI_AS_PRIMARY endif LOCAL_MODULE_TAGS := optional include $(BUILD_SHARED_LIBRARY)