OSDN Git Service

Add API to set Modifier.
[android-x86/external-minigbm.git] / Android.gralloc.mk
index c336535..318d6a5 100644 (file)
@@ -7,10 +7,12 @@ LOCAL_CPP_EXTENSION := .cc
 LOCAL_SRC_FILES += \
        cros_gralloc/cros_gralloc_buffer.cc \
        cros_gralloc/cros_gralloc_driver.cc \
-        cros_gralloc/cros_gralloc_helpers.cc
+       cros_gralloc/cros_gralloc_helpers.cc \
+       cros_gralloc/i915_private_android.cc
 
 ifeq ($(strip $(BOARD_USES_GRALLOC1)), true)
 LOCAL_SRC_FILES += cros_gralloc/gralloc1/cros_gralloc1_module.cc
+LOCAL_CPPFLAGS += -DUSE_GRALLOC1
 else
 LOCAL_SRC_FILES += cros_gralloc/gralloc0/gralloc0.cc
 endif