aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf
diff options
context:
space:
mode:
authorGravatar ccalvarin <ccalvarin@google.com>2017-10-10 05:29:56 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-10-10 11:24:42 +0200
commitceb1013c1ca0238188e2714442fcfb2efb16bc6a (patch)
tree2cdd1a3a21e716a7653c8be61d39d8b2396c7bb0 /src/main/protobuf
parent43edc92ac185ee2f1b8d0db31943ec1655b43434 (diff)
Report the structured Bazel command line via the BEP.
This is part of the effort outlined in https://bazel.build/designs/2017/07/13/improved-command-line-reporting.html. The refactoring of the options parser is not yet complete, so we still do not have complete & correct information about the canonical command line. Where the information is blatantly incorrect, a best approximation was made, with comments and tests documenting the deficiencies. Change the names of the initial CommandLine fields in the BEP to be explicitly identified as unstructured. RELNOTES: None. PiperOrigin-RevId: 171625377
Diffstat (limited to 'src/main/protobuf')
-rw-r--r--src/main/protobuf/BUILD2
-rw-r--r--src/main/protobuf/command_line.proto2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD
index f700ffbe76..ca2ba0c1af 100644
--- a/src/main/protobuf/BUILD
+++ b/src/main/protobuf/BUILD
@@ -65,7 +65,7 @@ java_library_srcs(
proto_library(
name = "command_line_proto",
srcs = ["command_line.proto"],
- visibility = ["//visibility:private"],
+ visibility = ["//src/main/java/com/google/devtools/build/lib/buildeventstream/proto:__pkg__"],
deps = [":option_filters_proto"],
)
diff --git a/src/main/protobuf/command_line.proto b/src/main/protobuf/command_line.proto
index e1ced1fb3f..d5fa6aceb8 100644
--- a/src/main/protobuf/command_line.proto
+++ b/src/main/protobuf/command_line.proto
@@ -26,7 +26,7 @@ message CommandLine {
// In particular, a single invocation may wish to report both the literal and
// canonical command lines, and this label would be used to differentiate
// between both versions. This is a string for flexibility.
- string label = 1;
+ string command_line_label = 1;
// A Bazel command line is made of distinct parts. For example,
// `bazel --nomaster_bazelrc test --nocache_test_results //foo:aTest`