From 2c80efa0c8baba68b034122ec519cc1d99dfc35c Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Sat, 7 Nov 2015 07:57:36 -0600 Subject: Update rules for libpixelfinger_twrp Change-Id: I40131f330e902afab033e810761bf98c07bbd03d --- libpixelflinger/Android.mk | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libpixelflinger') diff --git a/libpixelflinger/Android.mk b/libpixelflinger/Android.mk index 693a612a7..99f026c0f 100644 --- a/libpixelflinger/Android.mk +++ b/libpixelflinger/Android.mk @@ -15,13 +15,17 @@ endif PIXELFLINGER_SRC_FILES += \ codeflinger/CodeCache.cpp \ - codeflinger/tinyutils/SharedBuffer.cpp \ - codeflinger/tinyutils/VectorImpl.cpp \ format.cpp \ clear.cpp \ raster.cpp \ buffer.cpp +ifneq ($(wildcard system/core/libpixelflinger/codeflinger/tinyutils/VectorImpl.cpp),) + PIXELFLINGER_SRC_FILES += \ + codeflinger/tinyutils/SharedBuffer.cpp \ + codeflinger/tinyutils/VectorImpl.cpp +endif + ifneq ($(TW_HAVE_X86_ACCELERATED_PIXELFLINGER),true) PIXELFLINGER_SRC_FILES += \ codeflinger/ARMAssemblerInterface.cpp \ -- cgit v1.2.3