PassiveExperimentalEventHanlder: forward NoBuildRequestFinishedEvent
The NoBuildRequestFinishedEvent is another event that is not directly
associated with any output, yet updates the internal state of an experimental
event handler (as well as flushing any buffers).
@@ -15,6 +15,7 @@ package com.google.devtools.build.lib.runtime;
import com.google.common.eventbus.Subscribe;
import com.google.devtools.build.lib.analysis.NoBuildEvent;
+import com.google.devtools.build.lib.analysis.NoBuildRequestFinishedEvent;
/**
* A passive version of {@link ExperimentalEventHandler}.
@@ -34,4 +35,9 @@ public class PassiveExperimentalEventHandler {
public void noBuild(NoBuildEvent event) {
eventHandler.noBuild(event);
}
+
+ @Subscribe
+ public void noBuildFinished(NoBuildRequestFinishedEvent event) {
+ eventHandler.noBuildFinished(event);
+ }
}
