Hook up the dependency.
Now llvm-rs-link is directly called by the build system.
Change-Id: I281cc6fd9e21ee7d120ddea390f802b57c894fd6
diff --git a/core/java.mk b/core/java.mk
index 2120427..6a76643 100644
--- a/core/java.mk
+++ b/core/java.mk
@@ -134,7 +134,7 @@
# By putting the generated java files into $(LOCAL_INTERMEDIATE_SOURCE_DIR), they will be
# automatically found by the java compiling function transform-java-to-classes.jar.
$(RenderScript_file_stamp): PRIVATE_RS_OUTPUT_DIR := $(renderscript_intermediate)
-$(RenderScript_file_stamp): $(renderscript_sources_fullpath) $(LLVM_RS_CC)
+$(RenderScript_file_stamp): $(renderscript_sources_fullpath) $(LLVM_RS_CC) $(LLVM_RS_LINK)
$(transform-renderscripts-to-java-and-bc)
# include the dependency files (.d) generated by llvm-rs-cc.