diff options
author | Klaus Aehlig <aehlig@google.com> | 2016-09-28 12:13:17 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-09-28 14:01:14 +0000 |
commit | f009901a502fd7d45ee79c53612cad54ed3ecb9b (patch) | |
tree | b2bd04732e4703f1061c534e08a90c39599c544a /scripts/bootstrap | |
parent | bbab9ed571129201763e0f1175920c5a7df98284 (diff) |
Add interfaces for the build event protocol
Bazel in the will provide a machine-readable stream of important build
events. These interfaces set up the framework and expectations about
the produced events and the entities distributing those events.
--
Change-Id: If2c3b2e11c31b0136b57eadeef2d2f8f8fe5e2e7
Reviewed-on: https://bazel-review.googlesource.com/#/c/6272
MOS_MIGRATED_REVID=134522369
Diffstat (limited to 'scripts/bootstrap')
-rwxr-xr-x | scripts/bootstrap/compile.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index a5141e835e..f4939c10a9 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -16,7 +16,7 @@ # Script for building bazel from scratch without bazel -PROTO_FILES=$(ls src/main/protobuf/*.proto) +PROTO_FILES=$(ls src/main/protobuf/*.proto src/main/java/com/google/devtools/build/lib/buildeventstream/proto/*.proto) LIBRARY_JARS=$(find third_party -name '*.jar' | grep -Fv /javac.jar | grep -Fv /javac7.jar | grep -Fv JavaBuilder | grep -ve third_party/grpc/grpc.*jar | tr "\n" " ") GRPC_JAVA_VERSION=0.15.0 GRPC_LIBRARY_JARS=$(find third_party/grpc -name '*.jar' | grep -e .*${GRPC_JAVA_VERSION}.*jar | tr "\n" " ") @@ -180,7 +180,9 @@ function create_deploy_jar() { if [ -z "${BAZEL_SKIP_JAVA_COMPILATION}" ]; then log "Compiling Java stubs for protocol buffers..." for f in $PROTO_FILES ; do - run "${PROTOC}" -Isrc/main/protobuf/ --java_out=${OUTPUT_DIR}/src \ + run "${PROTOC}" -Isrc/main/protobuf/ \ + -Isrc/main/java/com/google/devtools/build/lib/buildeventstream/proto/ \ + --java_out=${OUTPUT_DIR}/src \ --plugin=protoc-gen-grpc="${GRPC_JAVA_PLUGIN-}" \ --grpc_out=${OUTPUT_DIR}/src "$f" done |