OSDN Git Service

android: fix the building rules for Android 5.0
[android-x86/external-mesa.git] / src / glsl / Android.gen.mk
index e161bd8..7f0b151 100644 (file)
@@ -27,7 +27,7 @@ ifeq ($(LOCAL_MODULE_CLASS),)
 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
 endif
 
-intermediates := $(call local-intermediates-dir)
+intermediates := $(call local-generated-sources-dir)
 
 sources := \
        glsl_lexer.cpp \
@@ -42,7 +42,6 @@ sources := \
 LOCAL_SRC_FILES := $(filter-out $(sources), $(LOCAL_SRC_FILES))
 
 LOCAL_C_INCLUDES += \
-       $(intermediates) \
        $(intermediates)/glcpp \
        $(intermediates)/nir \
        $(MESA_TOP)/src/glsl/glcpp \