aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/google/devtools/build/lib/BUILD1
-rw-r--r--src/main/java/com/google/devtools/build/lib/buildeventstream/BuildEvent.java3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/BUILD b/src/main/java/com/google/devtools/build/lib/BUILD
index e56adb2d19..808f909965 100644
--- a/src/main/java/com/google/devtools/build/lib/BUILD
+++ b/src/main/java/com/google/devtools/build/lib/BUILD
@@ -301,6 +301,7 @@ java_library(
name = "buildeventstream",
srcs = glob(["buildeventstream/*.java"]),
deps = [
+ ":events",
":vfs",
"//src/main/java/com/google/devtools/build/lib/buildeventstream/proto:build_event_stream_java_proto",
"//src/main/java/com/google/devtools/build/lib/causes",
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/BuildEvent.java b/src/main/java/com/google/devtools/build/lib/buildeventstream/BuildEvent.java
index 0a42d83c5d..a93922b8d7 100644
--- a/src/main/java/com/google/devtools/build/lib/buildeventstream/BuildEvent.java
+++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/BuildEvent.java
@@ -14,6 +14,7 @@
package com.google.devtools.build.lib.buildeventstream;
+import com.google.devtools.build.lib.events.ExtendedEventHandler;
/**
* Interface for objects that can be posted on the public event stream.
@@ -21,7 +22,7 @@ package com.google.devtools.build.lib.buildeventstream;
* <p>Objects posted on the build-event stream will implement this interface. This allows
* pass-through of events, as well as proper chaining of events.
*/
-public interface BuildEvent extends ChainableEvent {
+public interface BuildEvent extends ChainableEvent, ExtendedEventHandler.Postable {
/**
* Provide a binary representation of the event.
*