cros_gralloc/cros_gralloc_buffer.cc \
cros_gralloc/cros_gralloc_driver.cc \
cros_gralloc/cros_gralloc_helpers.cc \
- cros_gralloc/gralloc0/gralloc0.cc
+ cros_gralloc/i915_private_android.cc
+
+ifeq ($(strip $(BOARD_USES_GRALLOC1)), true)
+LOCAL_SRC_FILES += cros_gralloc/gralloc1/cros_gralloc1_module.cc
+else
+LOCAL_SRC_FILES += cros_gralloc/gralloc0/gralloc0.cc
+endif