* commit 'd26375733992298edc036652d25170e1cd7cbd49': Add support for building Filterscript files.
This commit is contained in:
@@ -133,8 +133,9 @@ LOCAL_INTERMEDIATE_SOURCE_DIR := $(intermediates.COMMON)/src
|
||||
|
||||
###############################################################
|
||||
## .rs files: RenderScript sources to .java files and .bc files
|
||||
## .fs files: Filterscript sources to .java files and .bc files
|
||||
###############################################################
|
||||
renderscript_sources := $(filter %.rs,$(LOCAL_SRC_FILES))
|
||||
renderscript_sources := $(filter %.rs %.fs,$(LOCAL_SRC_FILES))
|
||||
# Because names of the java files from RenderScript are unknown until the
|
||||
# .rs file(s) are compiled, we have to depend on a timestamp file.
|
||||
RenderScript_file_stamp :=
|
||||
@@ -196,7 +197,7 @@ $(RenderScript_file_stamp): $(renderscript_sources_fullpath) $(LOCAL_RENDERSCRIP
|
||||
|
||||
# include the dependency files (.d) generated by llvm-rs-cc.
|
||||
renderscript_generated_dep_files := $(addprefix $(renderscript_intermediate)/, \
|
||||
$(patsubst %.rs,%.d, $(notdir $(renderscript_sources))))
|
||||
$(patsubst %.fs,%.d, $(patsubst %.rs,%.d, $(notdir $(renderscript_sources)))))
|
||||
-include $(renderscript_generated_dep_files)
|
||||
|
||||
LOCAL_INTERMEDIATE_TARGETS += $(RenderScript_file_stamp)
|
||||
|
Reference in New Issue
Block a user