copybit: fix ion define
Change-Id: I9d4005b30f16aa191d3eb4c8455e5dbe198d5607
This commit is contained in:
parent
e1ea460dc4
commit
ae4a02e746
@ -19,6 +19,11 @@ LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
ifeq ($(TARGET_USES_C2D_COMPOSITION),true)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifeq ($(TARGET_USES_ION),true)
|
||||
LOCAL_CFLAGS += -DUSE_ION
|
||||
endif
|
||||
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
|
||||
LOCAL_SHARED_LIBRARIES := liblog libdl libcutils libmemalloc libutils
|
||||
@ -28,9 +33,6 @@ ifeq ($(TARGET_USES_C2D_COMPOSITION),true)
|
||||
LOCAL_CFLAGS += -DCOPYBIT_Z180=1 -DC2D_SUPPORT_DISPLAY=1
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
ifeq ($(TARGET_USES_ION),true)
|
||||
LOCAL_CFLAGS += -DUSE_ION
|
||||
endif
|
||||
else
|
||||
ifneq ($(TARGET_BOARD_PLATFORM),msm7x30)
|
||||
ifeq ($(TARGET_BOARD_PLATFORM),qsd8k)
|
||||
|
@ -31,7 +31,9 @@
|
||||
#define GRALLOC_ASHMEMALLOC_H
|
||||
|
||||
#include "memalloc.h"
|
||||
#ifdef USE_ION
|
||||
#include <linux/ion.h>
|
||||
#endif
|
||||
|
||||
namespace gralloc {
|
||||
class AshmemAlloc : public IMemAlloc {
|
||||
|
Loading…
Reference in New Issue
Block a user