From: Mauro Rossi Date: Sat, 29 Feb 2020 10:33:49 +0000 (+0100) Subject: android: gallium/auxiliary: fix "Unused source files" in tesselator X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a933934efbf343b6df3ea65ac70545bf200986ef;p=mesa.git 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 --- diff --git a/src/gallium/auxiliary/Android.mk b/src/gallium/auxiliary/Android.mk index 7e8b2d31e16..2c3f813ac6e 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)