Build should fail if any proto file fails compiling
When compile multipling proto files to Java in a for loop.
Change-Id: Ie6a9d3972401b0ad6406bf911db916fcbf88037b
diff --git a/core/definitions.mk b/core/definitions.mk
index fa0705c..c7952ec 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -852,7 +852,7 @@
$(addprefix --proto_path=, $(PRIVATE_PROTO_INCLUDES)) \
$(PRIVATE_PROTO_JAVA_OUTPUT_OPTION)=$(PRIVATE_PROTO_JAVA_OUTPUT_DIR) \
$(PRIVATE_PROTOC_FLAGS) \
- $$f; \
+ $$f || exit 33; \
done
$(hide) touch $@
endef