2008-10-21 16:00:00 +02:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# C/C++ and ARMv5 objects
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
PIXELFLINGER_SRC_FILES:= \
|
2014-02-11 22:32:56 +01:00
|
|
|
codeflinger/ARMAssemblerInterface.cpp \
|
|
|
|
codeflinger/ARMAssemblerProxy.cpp \
|
|
|
|
codeflinger/CodeCache.cpp \
|
|
|
|
codeflinger/GGLAssembler.cpp \
|
|
|
|
codeflinger/load_store.cpp \
|
|
|
|
codeflinger/blending.cpp \
|
|
|
|
codeflinger/texturing.cpp \
|
2008-10-21 16:00:00 +02:00
|
|
|
fixed.cpp.arm \
|
|
|
|
picker.cpp.arm \
|
|
|
|
pixelflinger.cpp.arm \
|
|
|
|
trap.cpp.arm \
|
|
|
|
scanline.cpp.arm \
|
|
|
|
format.cpp \
|
|
|
|
clear.cpp \
|
|
|
|
raster.cpp \
|
|
|
|
buffer.cpp
|
|
|
|
|
2014-02-11 22:32:56 +01:00
|
|
|
PIXELFLINGER_CFLAGS := -fstrict-aliasing -fomit-frame-pointer
|
2008-10-21 16:00:00 +02:00
|
|
|
|
2014-02-11 22:32:56 +01:00
|
|
|
PIXELFLINGER_SRC_FILES_arm := \
|
|
|
|
codeflinger/ARMAssembler.cpp \
|
|
|
|
codeflinger/disassem.c \
|
|
|
|
col32cb16blend.S \
|
|
|
|
t32cb16blend.S \
|
2008-10-21 16:00:00 +02:00
|
|
|
|
2014-03-06 16:43:58 +01:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_NEON),true)
|
2014-02-11 22:32:56 +01:00
|
|
|
PIXELFLINGER_SRC_FILES_arm += col32cb16blend_neon.S
|
2014-12-04 02:15:14 +01:00
|
|
|
PIXELFLINGER_CFLAGS_arm += -D__ARM_HAVE_NEON
|
2012-05-25 07:09:24 +02:00
|
|
|
endif
|
|
|
|
|
2014-02-11 22:32:56 +01:00
|
|
|
PIXELFLINGER_SRC_FILES_arm64 := \
|
|
|
|
codeflinger/Arm64Assembler.cpp \
|
|
|
|
codeflinger/Arm64Disassembler.cpp \
|
|
|
|
arch-arm64/col32cb16blend.S \
|
|
|
|
arch-arm64/t32cb16blend.S \
|
2008-10-21 16:00:00 +02:00
|
|
|
|
2014-06-29 03:55:26 +02:00
|
|
|
ifndef ARCH_MIPS_REV6
|
2014-02-11 22:32:56 +01:00
|
|
|
PIXELFLINGER_SRC_FILES_mips := \
|
|
|
|
codeflinger/MIPSAssembler.cpp \
|
|
|
|
codeflinger/mips_disassem.c \
|
|
|
|
arch-mips/t32cb16blend.S \
|
2013-02-28 19:32:03 +01:00
|
|
|
|
2014-06-29 03:55:26 +02:00
|
|
|
endif
|
2015-11-05 19:55:20 +01:00
|
|
|
|
|
|
|
PIXELFLINGER_SRC_FILES_mips64 := \
|
|
|
|
codeflinger/MIPSAssembler.cpp \
|
|
|
|
codeflinger/MIPS64Assembler.cpp \
|
|
|
|
codeflinger/mips64_disassem.c \
|
|
|
|
arch-mips64/col32cb16blend.S \
|
|
|
|
arch-mips64/t32cb16blend.S \
|
|
|
|
|
2008-10-21 16:00:00 +02:00
|
|
|
#
|
|
|
|
# Shared library
|
|
|
|
#
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libpixelflinger
|
|
|
|
LOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES)
|
2014-02-11 22:32:56 +01:00
|
|
|
LOCAL_SRC_FILES_arm := $(PIXELFLINGER_SRC_FILES_arm)
|
|
|
|
LOCAL_SRC_FILES_arm64 := $(PIXELFLINGER_SRC_FILES_arm64)
|
|
|
|
LOCAL_SRC_FILES_mips := $(PIXELFLINGER_SRC_FILES_mips)
|
2015-11-05 19:55:20 +01:00
|
|
|
LOCAL_SRC_FILES_mips64 := $(PIXELFLINGER_SRC_FILES_mips64)
|
2008-12-24 07:29:27 +01:00
|
|
|
LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS)
|
2015-03-12 19:16:50 +01:00
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
2015-08-28 13:59:48 +02:00
|
|
|
LOCAL_C_INCLUDES += $(LOCAL_EXPORT_C_INCLUDE_DIRS) \
|
|
|
|
external/safe-iop/include
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils liblog libutils
|
2008-12-24 07:29:27 +01:00
|
|
|
|
2009-03-04 04:32:55 +01:00
|
|
|
# Really this should go away entirely or at least not depend on
|
|
|
|
# libhardware, but this at least gets us built.
|
|
|
|
LOCAL_SHARED_LIBRARIES += libhardware_legacy
|
2008-12-24 07:29:27 +01:00
|
|
|
LOCAL_CFLAGS += -DWITH_LIB_HARDWARE
|
2008-10-21 16:00:00 +02:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2008-12-18 03:08:08 +01:00
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|