aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-05-28 23:26:01 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-28 23:26:01 +0000
commit65afd710a592390671beb5da15a87b127a5f2125 (patch)
tree477d852303496847a0705ec74c02b946085306a9
parent7df64f7c0d933e3a5f18e0d15402f62b819ef8f0 (diff)
parent5186dac02bc1999c2e34445ccd24406d3653b0c8 (diff)
downloadbuild-65afd710a592390671beb5da15a87b127a5f2125.tar.gz
Merge "Add a dummy build recipe for the proto generated header files"
-rw-r--r--core/binary.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/binary.mk b/core/binary.mk
index bee4428f60..f2ae0f58ed 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -472,6 +472,8 @@ $(proto_generated_cc_sources): $(proto_generated_cc_sources_dir)/%.pb.cc: %.prot
$(transform-proto-to-cc)
$(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 $<."
$(my_prefix)_$(LOCAL_MODULE_CLASS)_$(LOCAL_MODULE)_proto_defined := true
endif # transform-proto-to-cc rule included only once