From 16a107dca10c49d2365886df4a06f50ce2e4aeb1 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 31 May 2017 18:02:43 +0200 Subject: BEP: report visibility errors On finding a visibility error, report it directly for that target, instead of relying on the implict "abort" message for targets that have not been built. Change-Id: I5e45722a1117afca3bc8eeebd05179425b995172 PiperOrigin-RevId: 157592518 --- .../build/lib/buildeventstream/proto/build_event_stream.proto | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/java/com/google/devtools/build/lib/buildeventstream') diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto index 6d150d53af..0dc3d124ca 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto +++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto @@ -204,6 +204,13 @@ message LoadingFailure { string details = 1; } +// Payload of an event indicating that an expected event will not come, as +// something went wrong during analysis. If the analysis of a target failed, +// the id of the event will be the corresponding TargetCompletedId. +message AnalysisFailure { + string details = 1; +} + // Payload of an event indicating the beginning of a new build. Usually, events // of those type start a new build-event stream. The target pattern requested // to be build is contained in one of the announced child events; it is an @@ -464,6 +471,7 @@ message BuildEvent { Progress progress = 3; Aborted aborted = 4; LoadingFailure loading_failed = 11; + AnalysisFailure analysis_failed = 19; BuildStarted started = 5; CommandLine command_line = 12; OptionsParsed options_parsed = 13; -- cgit v1.2.3