From a933934efbf343b6df3ea65ac70545bf200986ef Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 29 Feb 2020 11:33:49 +0100 Subject: [PATCH] android: gallium/auxiliary: fix "Unused source files" in tesselator Avoids the following Android Build System error: FAILED: build/make/core/binary.mk:1245: error: external/mesa/src/gallium/auxiliary/Android.mk: libmesa_gallium: Unused source files: tessellator/tessellator.hpp 10:24:30 ckati failed with: exit status 1 Fixes: bd0188f ("gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.") Signed-off-by: Mauro Rossi Acked-by: Dave Airlie --- src/gallium/auxiliary/Android.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk index 7e8b2d3..2c3f813 100644 --- a/src/gallium/auxiliary/Android.mk +++ b/src/gallium/auxiliary/Android.mk @@ -28,8 +28,9 @@ include $(LOCAL_PATH)/Makefile.sources include $(CLEAR_VARS) +# filter-out tessellator/tessellator.hpp to avoid "Unused source files" error LOCAL_SRC_FILES := \ - $(C_SOURCES) \ + $(filter-out tessellator/tessellator.hpp, $(C_SOURCES)) \ $(NIR_SOURCES) \ $(RENDERONLY_SOURCES) \ $(VL_STUB_SOURCES) -- 2.7.4