android: gallium/auxiliary: fix "Unused source files" in tesselator
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 29 Feb 2020 10:33:49 +0000 (11:33 +0100)
committermaurossi <issor.oruam@gmail.com>
Tue, 3 Mar 2020 21:32:26 +0000 (21:32 +0000)
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 <issor.oruam@gmail.com>
Acked-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/Android.mk

index 7e8b2d31e168b44ca4079e508e991efb6d938b3a..2c3f813ac6ec74fcedda9a2acea037b59b6915d0 100644 (file)
@@ -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)