diff options
Diffstat (limited to 'src/egl/Android.mk')
-rw-r--r-- | src/egl/Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/egl/Android.mk b/src/egl/Android.mk index 11818694f4f..8412aeb7984 100644 --- a/src/egl/Android.mk +++ b/src/egl/Android.mk @@ -57,9 +57,13 @@ LOCAL_SHARED_LIBRARIES := \ libhardware \ liblog \ libcutils \ - libgralloc_drm \ libsync +ifeq ($(BOARD_USES_DRM_GRALLOC),true) + LOCAL_CFLAGS += -DHAVE_DRM_GRALLOC + LOCAL_SHARED_LIBRARIES += libgralloc_drm +endif + ifeq ($(filter $(MESA_ANDROID_MAJOR_VERSION), 4 5 6 7),) LOCAL_SHARED_LIBRARIES += libnativewindow endif |