mesa: Fix linker-assigned varying component counting since 8fb1e4a462
[mesa.git] / src / glsl / Android.mk
index cf793d65e35e2dc06b0cafc21e0918eca23d28ce..f5006ab03f62e69c318acfccd3fe29056f9dcb66 100644 (file)
@@ -27,6 +27,7 @@ LOCAL_PATH := $(call my-dir)
 
 include $(LOCAL_PATH)/Makefile.sources
 
+GLSL_SRCDIR = .
 # ---------------------------------------
 # Build libmesa_glsl
 # ---------------------------------------
@@ -35,8 +36,7 @@ include $(CLEAR_VARS)
 
 LOCAL_SRC_FILES := \
        $(LIBGLCPP_FILES) \
-       $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES)
+       $(LIBGLSL_FILES)
 
 LOCAL_C_INCLUDES := \
        external/astl/include \
@@ -58,8 +58,7 @@ include $(CLEAR_VARS)
 LOCAL_SRC_FILES := \
        $(LIBGLCPP_FILES) \
        $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES) \
-       $(BUILTIN_COMPILER_CXX_FILES) \
+       $(GLSL_SRCDIR)/builtin_compiler/builtin_stubs.cpp \
        $(GLSL_COMPILER_CXX_FILES)
 
 LOCAL_C_INCLUDES := \