diff options
author | 2017-05-31 18:02:43 +0200 | |
---|---|---|
committer | 2017-06-01 14:05:13 +0200 | |
commit | 16a107dca10c49d2365886df4a06f50ce2e4aeb1 (patch) | |
tree | 4a9fa65b9ff1b79ff3481af33f9cbd7b370a814a /src/main/java/com/google/devtools/build/lib/buildeventstream | |
parent | d3040ea6c3ad9ed269d1f9dceeedf42efbe67403 (diff) |
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
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildeventstream')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto | 8 |
1 files changed, 8 insertions, 0 deletions
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; |