author | binqi.zhang <binqi.zhang@amlogic.com> | 2017-12-19 06:57:36 (GMT) |
---|---|---|
committer | binqi.zhang <binqi.zhang@amlogic.com> | 2017-12-19 07:25:20 (GMT) |
commit | c8ad992256697152cd6de52a1926fd93f336a639 (patch) | |
tree | b11b7ca84a7726806103e17d06b6b37f465ad443 | |
parent | cec7e8a1c8510647c26d33defc18fe7a82771d24 (diff) | |
download | gralloc-o-amlogic.zip gralloc-o-amlogic.tar.gz gralloc-o-amlogic.tar.bz2 |
gralloc: Fix compile error.
PD# NONE
Fix compile error.
Change-Id: If4b23c8f9c59069b71699274a90ff3cadb429c78
-rw-r--r-- | Android.mk | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -102,17 +102,17 @@ else GRALLOC_DEPTH?=GRALLOC_32_BITS GRALLOC_FB_SWAP_RED_BLUE?=0 MALI_DDK_INCLUDES=$(MALI_LOCAL_PATH)/include $(MALI_LOCAL_PATH)/kernel/include - ifeq ($(MALI_ION),1) - ALLOCATOR_SPECIFIC_FILES := alloc_ion.cpp gralloc_module_ion.cpp - ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo OK),OK) - ALLOCATOR_SPECIFIC_FILES += ion_wrapper.cpp - else - ALLOCATION_LIB := libion - endif - else - ALLOCATION_LIB := libGLES_mali - ALLOCATOR_SPECIFIC_FILES := alloc_ump.cpp gralloc_module_ump.cpp - endif +ifeq ($(MALI_ION),1) + ALLOCATOR_SPECIFIC_FILES := alloc_ion.cpp gralloc_module_ion.cpp +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -ge 26 && echo OK),OK) + ALLOCATOR_SPECIFIC_FILES += ion_wrapper.cpp +else + ALLOCATION_LIB := libion +endif +else + ALLOCATION_LIB := libGLES_mali + ALLOCATOR_SPECIFIC_FILES := alloc_ump.cpp gralloc_module_ump.cpp +endif $(info GRALLOC_FB_SWAP_RED_BLUE1 is $(GRALLOC_FB_SWAP_RED_BLUE)) endif #MALI_AFBC_GRALLOC?=1 |