From a9a3796c03210927438d95116fcef4c3cc8aeabf Mon Sep 17 00:00:00 2001 From: Andrew Sutherland Date: Mon, 6 Feb 2012 04:27:53 +0000 Subject: [PATCH] qcom: copybit: build proper for qsd8k Change-Id: Ic4ab7ec7105e45b8e09b232ae8096f3c7ea75ede --- libcopybit/Android.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/libcopybit/Android.mk b/libcopybit/Android.mk index 047a2eb..4a05a79 100644 --- a/libcopybit/Android.mk +++ b/libcopybit/Android.mk @@ -33,6 +33,18 @@ ifeq ($(TARGET_USES_ION),true) endif else ifneq ($(TARGET_BOARD_PLATFORM),msm7x30) + ifeq ($(TARGET_BOARD_PLATFORM),qsd8k) + include $(CLEAR_VARS) + LOCAL_PRELINK_MODULE := false + LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw + LOCAL_SHARED_LIBRARIES := liblog + LOCAL_SRC_FILES := software_converter.cpp copybit.cpp + LOCAL_MODULE := copybit.$(TARGET_BOARD_PLATFORM) + LOCAL_MODULE_TAGS := optional + LOCAL_C_INCLUDES += hardware/qcom/display/libgralloc + LOCAL_CFLAGS += -D__ARM_HAVE_NEON -DCOPYBIT_QSD8K=1 + include $(BUILD_SHARED_LIBRARY) + else include $(CLEAR_VARS) ifeq ($(ARCH_ARM_HAVE_NEON),true) LOCAL_CFLAGS += -D__ARM_HAVE_NEON @@ -57,4 +69,5 @@ else LOCAL_CFLAGS += -DCOPYBIT_MSM7K=1 include $(BUILD_SHARED_LIBRARY) endif + endif endif