-rw-r--r-- | Android.mk | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -10,18 +10,14 @@ include $(CLEAR_VARS) LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_SRC_FILES := aml_screen.cpp v4l2_vdin.cpp -ifneq (,$(wildcard hardware/amlogic/gralloc)) - GRALLOC_DIR := hardware/amlogic/gralloc -else - GRALLOC_DIR := hardware/libhardware/modules/gralloc -endif +MESON_GRALLOC_DIR ?= hardware/amlogic/gralloc LOCAL_C_INCLUDES += frameworks/native/include/utils \ frameworks/native/include/android \ system/core/include/utils \ system/core/libion/include \ system/core/libion/kernel-headers \ - $(GRALLOC_DIR) + $(MESON_GRALLOC_DIR) LOCAL_SHARED_LIBRARIES:= libutils liblog libui |