summaryrefslogtreecommitdiffstats
path: root/modules/gralloc/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gralloc/Android.mk')
-rw-r--r--modules/gralloc/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gralloc/Android.mk b/modules/gralloc/Android.mk
index b24c4cd..bfc401b 100644
--- a/modules/gralloc/Android.mk
+++ b/modules/gralloc/Android.mk
@@ -30,4 +30,8 @@ LOCAL_SRC_FILES := \
LOCAL_MODULE := gralloc.default
LOCAL_CFLAGS:= -DLOG_TAG=\"gralloc\"
+ifeq ($(BOARD_HTC_3D_SUPPORT),true)
+ LOCAL_CFLAGS += -DHTC_3D_SUPPORT
+endif
+
include $(BUILD_SHARED_LIBRARY)