mesa: Fix linker-assigned varying component counting since 8fb1e4a462
[mesa.git] / src / glsl / Android.mk
index 66c8bec32975eeb0546215a41d196ccbd09d454b..f5006ab03f62e69c318acfccd3fe29056f9dcb66 100644 (file)
@@ -25,9 +25,9 @@
 
 LOCAL_PATH := $(call my-dir)
 
-GLSL_SRCDIR = .
 include $(LOCAL_PATH)/Makefile.sources
 
+GLSL_SRCDIR = .
 # ---------------------------------------
 # Build libmesa_glsl
 # ---------------------------------------
@@ -36,8 +36,7 @@ include $(CLEAR_VARS)
 
 LOCAL_SRC_FILES := \
        $(LIBGLCPP_FILES) \
-       $(LIBGLSL_FILES) \
-       $(LIBGLSL_CXX_FILES)
+       $(LIBGLSL_FILES)
 
 LOCAL_C_INCLUDES := \
        external/astl/include \
@@ -59,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 := \