2008-10-21 22:00:00 +08:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
#
|
|
|
|
# C/C++ and ARMv5 objects
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
PIXELFLINGER_SRC_FILES:= \
|
2014-02-12 05:32:56 +08: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 22:00:00 +08: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-12 05:32:56 +08:00
|
|
|
PIXELFLINGER_CFLAGS := -fstrict-aliasing -fomit-frame-pointer
|
2017-10-27 02:19:43 +08:00
|
|
|
PIXELFLINGER_CFLAGS += -Wall -Werror
|
|
|
|
PIXELFLINGER_CFLAGS += -Wno-unused-function
|
2008-10-21 22:00:00 +08:00
|
|
|
|
2014-02-12 05:32:56 +08:00
|
|
|
PIXELFLINGER_SRC_FILES_arm := \
|
|
|
|
codeflinger/ARMAssembler.cpp \
|
|
|
|
codeflinger/disassem.c \
|
|
|
|
col32cb16blend.S \
|
|
|
|
t32cb16blend.S \
|
2008-10-21 22:00:00 +08:00
|
|
|
|
2014-03-06 23:43:58 +08:00
|
|
|
ifeq ($(ARCH_ARM_HAVE_NEON),true)
|
2014-02-12 05:32:56 +08:00
|
|
|
PIXELFLINGER_SRC_FILES_arm += col32cb16blend_neon.S
|
2014-12-04 09:15:14 +08:00
|
|
|
PIXELFLINGER_CFLAGS_arm += -D__ARM_HAVE_NEON
|
2012-05-25 13:09:24 +08:00
|
|
|
endif
|
|
|
|
|
2014-02-12 05:32:56 +08:00
|
|
|
PIXELFLINGER_SRC_FILES_arm64 := \
|
|
|
|
codeflinger/Arm64Assembler.cpp \
|
|
|
|
codeflinger/Arm64Disassembler.cpp \
|
|
|
|
arch-arm64/col32cb16blend.S \
|
|
|
|
arch-arm64/t32cb16blend.S \
|
2008-10-21 22:00:00 +08:00
|
|
|
|
2014-06-29 09:55:26 +08:00
|
|
|
ifndef ARCH_MIPS_REV6
|
2014-02-12 05:32:56 +08:00
|
|
|
PIXELFLINGER_SRC_FILES_mips := \
|
|
|
|
codeflinger/MIPSAssembler.cpp \
|
|
|
|
codeflinger/mips_disassem.c \
|
|
|
|
arch-mips/t32cb16blend.S \
|
2013-03-01 02:32:03 +08:00
|
|
|
|
2014-06-29 09:55:26 +08:00
|
|
|
endif
|
2015-11-06 02:55:20 +08: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 22:00:00 +08:00
|
|
|
#
|
|
|
|
# Shared library
|
|
|
|
#
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libpixelflinger
|
|
|
|
LOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES)
|
2014-02-12 05:32:56 +08: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-06 02:55:20 +08:00
|
|
|
LOCAL_SRC_FILES_mips64 := $(PIXELFLINGER_SRC_FILES_mips64)
|
2008-12-24 14:29:27 +08:00
|
|
|
LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS)
|
2015-03-13 02:16:50 +08:00
|
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
|
2015-08-28 19:59:48 +08:00
|
|
|
LOCAL_C_INCLUDES += $(LOCAL_EXPORT_C_INCLUDE_DIRS) \
|
|
|
|
external/safe-iop/include
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils liblog libutils
|
2008-12-24 14:29:27 +08:00
|
|
|
|
2008-10-21 22:00:00 +08:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2008-12-18 10:08:08 +08:00
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|