LOCAL_SRC_FILES := \
$(LIBGLCPP_FILES) \
$(LIBGLSL_FILES) \
- $(GLSL_SRCDIR)/builtin_compiler/builtin_stubs.cpp \
+ $(BUILTIN_COMPILER_CXX_FILES) \
$(GLSL_COMPILER_CXX_FILES)
LOCAL_C_INCLUDES := \
# builtin_stubs.cpp, is used.
BUILTIN_COMPILER_CXX_FILES = \
- $(GLSL_SRCDIR)/builtin_stubs.cpp
+ $(GLSL_SRCDIR)/builtin_compiler/builtin_stubs.cpp
BUILTIN_COMPILER_GENERATED_CXX_FILES = \
$(GLSL_BUILDDIR)/glsl_lexer.cpp \
builtin_compiler = env.Program(
target = 'builtin_compiler/builtin_compiler',
- source = compiler_objs + glsl_sources + [
- 'builtin_compiler/builtin_stubs.cpp',
- ]
+ source = compiler_objs + glsl_sources + \
+ source_lists['BUILTIN_COMPILER_CXX_FILES'],
)
# SCons builtin dependency scanner doesn't detect that glsl_lexer.ll