From 7d624aaae40c3cdbe9661a62776853a06e7cba1e Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 5 Feb 2024 13:56:06 -0800 Subject: [PATCH] [7.1.0] Make sure we build as well as test //src/tools/execlog/... on CI. Cherry-pick only: also fix a target that currently fails to build due to a bad dependency. PiperOrigin-RevId: 604423841 Change-Id: I641b5e75ae52dc65ecb264c87dc46426acf64cb1 --- .bazelci/postsubmit.yml | 1 + .bazelci/presubmit.yml | 1 + .../src/main/java/com/google/devtools/build/execlog/BUILD | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.bazelci/postsubmit.yml b/.bazelci/postsubmit.yml index 144c46cea6b97f..6395373304afb1 100644 --- a/.bazelci/postsubmit.yml +++ b/.bazelci/postsubmit.yml @@ -18,6 +18,7 @@ tasks: - "//src:bazel_jdk_minimal" - "//src:test_repos" - "//src/main/java/..." + - "//src/tools/execlog/..." test_flags: - "--config=ci-linux" # Override REMOTE_NETWORK_ADDRESS since bazel_sandboxing_networking_test doesn't work on this platform diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 29b9f793089cb7..59bcc03c49254c 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -19,6 +19,7 @@ tasks: - "//src:bazel_jdk_minimal" - "//src:test_repos" - "//src/main/java/..." + - "//src/tools/execlog/..." test_flags: - "--config=ci-linux" # Override REMOTE_NETWORK_ADDRESS since bazel_sandboxing_networking_test doesn't work on this platform diff --git a/src/tools/execlog/src/main/java/com/google/devtools/build/execlog/BUILD b/src/tools/execlog/src/main/java/com/google/devtools/build/execlog/BUILD index e87e67acb563ee..13da4011cc8050 100644 --- a/src/tools/execlog/src/main/java/com/google/devtools/build/execlog/BUILD +++ b/src/tools/execlog/src/main/java/com/google/devtools/build/execlog/BUILD @@ -32,7 +32,7 @@ java_library( ], deps = [ "//src/main/java/com/google/devtools/build/lib/exec:spawn_log_context_utils", - "//src/main/java/com/google/devtools/build/lib/util/io:io-proto", + "//src/main/java/com/google/devtools/build/lib/util/io", "//src/main/java/com/google/devtools/common/options", "//src/main/protobuf:spawn_java_proto", "//third_party:auto_value",