summaryrefslogtreecommitdiff
path: root/gralloc/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc/Android.mk')
-rw-r--r--gralloc/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/gralloc/Android.mk b/gralloc/Android.mk
index c3f41337..57fee80f 100644
--- a/gralloc/Android.mk
+++ b/gralloc/Android.mk
@@ -49,6 +49,9 @@ endif
ifeq ($(TARGET_USES_UNALIGNED_NV21_ZSL),true)
LOCAL_CFLAGS += -DUSE_UNALIGNED_NV21_ZSL
endif
+ifeq ($(TARGET_USES_UNALIGNED_YCRCB),true)
+ LOCAL_CFLAGS += -DUSE_UNALIGNED_YCRCB
+endif
LOCAL_ADDITIONAL_DEPENDENCIES := $(common_deps)
LOCAL_SRC_FILES := gr_utils.cpp gr_adreno_info.cpp