OSDN Git Service

Correct the header file reference
[android-x86/external-minigbm.git] / Android.gralloc.mk
index ff269c0..d8e6e63 100644 (file)
@@ -8,4 +8,10 @@ LOCAL_SRC_FILES += \
        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