Loading core/definitions.mk +1 −1 Original line number Diff line number Diff line Loading @@ -269,7 +269,7 @@ endef define all-renderscript-files-under $(patsubst ./%,%, \ $(shell cd $(LOCAL_PATH) ; \ find $(1) -name "*.rs" -and -not -name ".*") \ find $(1) \( -name "*.rs" -or -name "*.fs" \) -and -not -name ".*") \ ) endef Loading core/java.mk +3 −2 Original line number Diff line number Diff line Loading @@ -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 := Loading Loading @@ -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) Loading Loading
core/definitions.mk +1 −1 Original line number Diff line number Diff line Loading @@ -269,7 +269,7 @@ endef define all-renderscript-files-under $(patsubst ./%,%, \ $(shell cd $(LOCAL_PATH) ; \ find $(1) -name "*.rs" -and -not -name ".*") \ find $(1) \( -name "*.rs" -or -name "*.fs" \) -and -not -name ".*") \ ) endef Loading
core/java.mk +3 −2 Original line number Diff line number Diff line Loading @@ -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 := Loading Loading @@ -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) Loading