summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-02-14 02:29:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-14 02:29:52 +0000
commitd3579f4ee0135f0a9636adb963704cc8d5c041e1 (patch)
tree97d7347f3905cd6dd3d3203ac961cbee254f6280
parent349e915dafbcebafcf204bda12739f9287ae51ce (diff)
parent8c556594bfa6db9089b2ad30b9400f94eb537e20 (diff)
downloadbuild-d3579f4ee0135f0a9636adb963704cc8d5c041e1.zip
build-d3579f4ee0135f0a9636adb963704cc8d5c041e1.tar.gz
build-d3579f4ee0135f0a9636adb963704cc8d5c041e1.tar.bz2
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 2bfccf4..90b317e 100644
--- a/core/binary.mk
+++ b/core/binary.mk
@@ -427,6 +427,8 @@ $(proto_generated_cc_sources): $(proto_generated_cc_sources_dir)/%.pb.cc: %.prot
proto_generated_headers := $(patsubst %.pb.cc,%.pb.h, $(proto_generated_cc_sources))
$(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 $<."
$(proto_generated_objects): PRIVATE_ARM_MODE := $(normal_objects_mode)
$(proto_generated_objects): PRIVATE_ARM_CFLAGS := $(normal_objects_cflags)