Add a dummy build recipe for generated RS cpp files.

Previously the RS cpp files are generated by the timestamp rule. Though
we have the generated RS cpp files depend on the timestamp file, we
don't have a build recipe. In such case gmake does some "optimization"
that it skip recompiling the generated cpp files, because it assumes the
generated cpp files are already up to date even if the rs files have
been updated.

Bug: 15313144
Change-Id: Ie69ecd2c788057d3619f9c7d2a125d44c4a534a1
diff --git a/core/binary.mk b/core/binary.mk
index f2ae0f5..45ab0c0 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -425,6 +425,8 @@
     $(notdir $(renderscript_sources)))))
 
 $(rs_generated_cpps) : $(RenderScript_file_stamp)
+	# This is just a dummy rule to make sure gmake doesn't skip updating the dependents.
+	@echo "Updated RS generated cpp file $@."
 
 my_c_includes += $(renderscript_intermediate)
 my_generated_sources += $(rs_generated_cpps)
@@ -473,7 +475,7 @@
 
 $(proto_generated_headers): $(proto_generated_cc_sources_dir)/%.pb.h: $(proto_generated_cc_sources_dir)/%.pb.cc
 	# This is just a dummy rule to make sure gmake doesn't skip updating the dependents.
-	@echo "Updated header file $<."
+	@echo "Updated header file $@."
 
 $(my_prefix)_$(LOCAL_MODULE_CLASS)_$(LOCAL_MODULE)_proto_defined := true
 endif  # transform-proto-to-cc rule included only once