| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) | 
 | 2 | include $(CLEAR_VARS) | 
 | 3 |  | 
 | 4 | # | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 5 | # C/C++ and ARMv5 objects | 
 | 6 | # | 
 | 7 |  | 
 | 8 | include $(CLEAR_VARS) | 
 | 9 | PIXELFLINGER_SRC_FILES:= \ | 
| Colin Cross | f88fb1f | 2014-02-11 13:32:56 -0800 | [diff] [blame] | 10 | 	codeflinger/ARMAssemblerInterface.cpp \ | 
 | 11 | 	codeflinger/ARMAssemblerProxy.cpp \ | 
 | 12 | 	codeflinger/CodeCache.cpp \ | 
 | 13 | 	codeflinger/GGLAssembler.cpp \ | 
 | 14 | 	codeflinger/load_store.cpp \ | 
 | 15 | 	codeflinger/blending.cpp \ | 
 | 16 | 	codeflinger/texturing.cpp \ | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 17 | 	fixed.cpp.arm \ | 
 | 18 | 	picker.cpp.arm \ | 
 | 19 | 	pixelflinger.cpp.arm \ | 
 | 20 | 	trap.cpp.arm \ | 
 | 21 | 	scanline.cpp.arm \ | 
 | 22 | 	format.cpp \ | 
 | 23 | 	clear.cpp \ | 
 | 24 | 	raster.cpp \ | 
 | 25 | 	buffer.cpp | 
 | 26 |  | 
| Colin Cross | f88fb1f | 2014-02-11 13:32:56 -0800 | [diff] [blame] | 27 | PIXELFLINGER_CFLAGS := -fstrict-aliasing -fomit-frame-pointer | 
 | 28 |  | 
 | 29 | PIXELFLINGER_SRC_FILES_arm := \ | 
 | 30 | 	codeflinger/ARMAssembler.cpp \ | 
 | 31 | 	codeflinger/disassem.c \ | 
 | 32 | 	col32cb16blend.S \ | 
 | 33 | 	t32cb16blend.S \ | 
 | 34 |  | 
| Kévin PETIT | d82b2a3 | 2014-03-06 15:43:58 +0000 | [diff] [blame] | 35 | ifeq ($(ARCH_ARM_HAVE_NEON),true) | 
| Colin Cross | f88fb1f | 2014-02-11 13:32:56 -0800 | [diff] [blame] | 36 | PIXELFLINGER_SRC_FILES_arm += col32cb16blend_neon.S | 
| Elliott Hughes | 053ca3f | 2014-12-03 17:15:14 -0800 | [diff] [blame] | 37 | PIXELFLINGER_CFLAGS_arm += -D__ARM_HAVE_NEON | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 38 | endif | 
 | 39 |  | 
| Colin Cross | f88fb1f | 2014-02-11 13:32:56 -0800 | [diff] [blame] | 40 | PIXELFLINGER_SRC_FILES_arm64 := \ | 
 | 41 | 	codeflinger/Arm64Assembler.cpp \ | 
 | 42 | 	codeflinger/Arm64Disassembler.cpp \ | 
 | 43 | 	arch-arm64/col32cb16blend.S \ | 
 | 44 | 	arch-arm64/t32cb16blend.S \ | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 45 |  | 
| Duane Sand | 734f50c | 2014-06-28 18:55:26 -0700 | [diff] [blame] | 46 | ifndef ARCH_MIPS_REV6 | 
| Colin Cross | f88fb1f | 2014-02-11 13:32:56 -0800 | [diff] [blame] | 47 | PIXELFLINGER_SRC_FILES_mips := \ | 
 | 48 | 	codeflinger/MIPSAssembler.cpp \ | 
 | 49 | 	codeflinger/mips_disassem.c \ | 
 | 50 | 	arch-mips/t32cb16blend.S \ | 
| Ashok Bhat | 658f89d | 2013-02-28 18:32:03 +0000 | [diff] [blame] | 51 |  | 
| Duane Sand | 734f50c | 2014-06-28 18:55:26 -0700 | [diff] [blame] | 52 | endif | 
| Elliott Hughes | 606d4ae | 2015-11-05 18:55:20 +0000 | [diff] [blame] | 53 |  | 
 | 54 | PIXELFLINGER_SRC_FILES_mips64 := \ | 
 | 55 |         codeflinger/MIPSAssembler.cpp \ | 
 | 56 | 	codeflinger/MIPS64Assembler.cpp \ | 
 | 57 | 	codeflinger/mips64_disassem.c \ | 
 | 58 | 	arch-mips64/col32cb16blend.S \ | 
 | 59 | 	arch-mips64/t32cb16blend.S \ | 
 | 60 |  | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 61 | # | 
 | 62 | # Shared library | 
 | 63 | # | 
 | 64 |  | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 65 | LOCAL_MODULE:= libpixelflinger | 
 | 66 | LOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES) | 
| Colin Cross | f88fb1f | 2014-02-11 13:32:56 -0800 | [diff] [blame] | 67 | LOCAL_SRC_FILES_arm := $(PIXELFLINGER_SRC_FILES_arm) | 
 | 68 | LOCAL_SRC_FILES_arm64 := $(PIXELFLINGER_SRC_FILES_arm64) | 
 | 69 | LOCAL_SRC_FILES_mips := $(PIXELFLINGER_SRC_FILES_mips) | 
| Elliott Hughes | 606d4ae | 2015-11-05 18:55:20 +0000 | [diff] [blame] | 70 | LOCAL_SRC_FILES_mips64 := $(PIXELFLINGER_SRC_FILES_mips64) | 
| Brian Swetland | 5a32695 | 2008-12-23 22:29:27 -0800 | [diff] [blame] | 71 | LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS) | 
| Greg Hackmann | 38eb58d | 2015-03-12 11:16:50 -0700 | [diff] [blame] | 72 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include | 
| Narayan Kamath | c609c31 | 2015-08-28 12:59:48 +0100 | [diff] [blame] | 73 | LOCAL_C_INCLUDES += $(LOCAL_EXPORT_C_INCLUDE_DIRS) \ | 
 | 74 | 		    external/safe-iop/include | 
 | 75 | LOCAL_SHARED_LIBRARIES := libcutils liblog libutils | 
| Brian Swetland | 5a32695 | 2008-12-23 22:29:27 -0800 | [diff] [blame] | 76 |  | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 77 | include $(BUILD_SHARED_LIBRARY) | 
| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 78 |  | 
| The Android Open Source Project | 35237d1 | 2008-12-17 18:08:08 -0800 | [diff] [blame] | 79 | include $(call all-makefiles-under,$(LOCAL_PATH)) |