Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 707328a3 authored by Ying Wang's avatar Ying Wang
Browse files

Build should fail if any proto file fails compiling

When compile multipling proto files to Java in a for loop.

Change-Id: Ie6a9d3972401b0ad6406bf911db916fcbf88037b
parent 160711d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -852,7 +852,7 @@ $(hide) for f in $(PRIVATE_PROTO_SRC_FILES); do \
        $(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