android: Remove builtin_compiler
authorAdrian Negreanu <adrian.m.negreanu@intel.com>
Fri, 13 Sep 2013 08:58:33 +0000 (11:58 +0300)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 18 Sep 2013 16:35:55 +0000 (09:35 -0700)
The first part was done in:

   commit c845140a20efa6a30a5465301d1f9b4acea79155
   Author: Kenneth Graunke <kenneth@whitecape.org>
   Date:   Tue Sep 3 21:22:17 2013 -0700

Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/Android.gen.mk

index 2ed9fa64bac99144f850f7d9ef65bd74b1704c53..7ec56d4f203fa7a05ba1d2d9b049e8af5d931e04 100644 (file)
@@ -35,10 +35,6 @@ sources := \
        glcpp/glcpp-lex.c \
        glcpp/glcpp-parse.c
 
-ifneq ($(LOCAL_IS_HOST_MODULE),true)
-sources += builtin_function.cpp
-endif
-
 LOCAL_SRC_FILES := $(filter-out $(sources), $(LOCAL_SRC_FILES))
 
 LOCAL_C_INCLUDES += $(intermediates) $(intermediates)/glcpp $(MESA_TOP)/src/glsl/glcpp
@@ -81,18 +77,3 @@ $(intermediates)/glcpp/glcpp-lex.c: $(LOCAL_PATH)/glcpp/glcpp-lex.l
 
 $(intermediates)/glcpp/glcpp-parse.c: $(LOCAL_PATH)/glcpp/glcpp-parse.y
        $(call glsl_local-y-to-c-and-h)
-
-BUILTIN_COMPILER := $(BUILD_OUT_EXECUTABLES)/mesa_builtin_compiler$(BUILD_EXECUTABLE_SUFFIX)
-
-builtin_function_deps := \
-       $(LOCAL_PATH)/builtins/tools/generate_builtins.py \
-       $(LOCAL_PATH)/builtins/tools/texture_builtins.py \
-       $(BUILTIN_COMPILER) \
-       $(wildcard $(LOCAL_PATH)/builtins/profiles/*) \
-               $(wildcard $(LOCAL_PATH)/builtins/ir/*)
-
-$(intermediates)/builtin_function.cpp: PRIVATE_SCRIPT := $(MESA_PYTHON2) $(LOCAL_PATH)/builtins/tools/generate_builtins.py
-$(intermediates)/builtin_function.cpp: $(builtin_function_deps)
-       @mkdir -p $(dir $@)
-       @echo "Gen GLSL: $(PRIVATE_MODULE) <= $(notdir $@)"
-       $(hide) $(PRIVATE_SCRIPT) $(BUILTIN_COMPILER) > $@ || rm -f $@