Search in sources :

Example 1 with AbortedEvent

use of com.google.devtools.build.lib.buildeventstream.AbortedEvent in project bazel by bazelbuild.

the class BuildEventStreamer method clearPendingEvents.

/** Clear pending events by generating aborted events for all their requisits. */
private void clearPendingEvents() {
    while (!pendingEvents.isEmpty()) {
        BuildEventId id = pendingEvents.keySet().iterator().next();
        buildEvent(new AbortedEvent(id, abortReason, ""));
    }
}
Also used : BuildEventId(com.google.devtools.build.lib.buildeventstream.BuildEventId) AbortedEvent(com.google.devtools.build.lib.buildeventstream.AbortedEvent)

Aggregations

AbortedEvent (com.google.devtools.build.lib.buildeventstream.AbortedEvent)1 BuildEventId (com.google.devtools.build.lib.buildeventstream.BuildEventId)1