ActionOwner references only BuildEvent instead of full BuildConfiguration

This reduces the size of its serialized representation.

PiperOrigin-RevId: 188597127
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java b/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java
index e2447f1..9ff8d76 100644
--- a/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java
+++ b/src/test/java/com/google/devtools/build/lib/runtime/BuildEventStreamerTest.java
@@ -650,9 +650,9 @@
                     BuildConfiguration.Options.class)),
             "workspace");
     BuildEvent firstWithConfiguration =
-        new GenericConfigurationEvent(testId("first"), configuration);
+        new GenericConfigurationEvent(testId("first"), configuration.toBuildEvent());
     BuildEvent secondWithConfiguration =
-        new GenericConfigurationEvent(testId("second"), configuration);
+        new GenericConfigurationEvent(testId("second"), configuration.toBuildEvent());
 
     streamer.buildEvent(startEvent);
     streamer.buildEvent(firstWithConfiguration);
@@ -663,7 +663,7 @@
     assertThat(allEventsSeen).hasSize(7);
     assertThat(allEventsSeen.get(0).getEventId()).isEqualTo(startEvent.getEventId());
     assertThat(allEventsSeen.get(1).getEventId()).isEqualTo(ProgressEvent.INITIAL_PROGRESS_UPDATE);
-    assertThat(allEventsSeen.get(2)).isEqualTo(configuration);
+    assertThat(allEventsSeen.get(2)).isEqualTo(configuration.toBuildEvent());
     assertThat(allEventsSeen.get(3).getEventId()).isEqualTo(BuildEventId.progressId(1));
     assertThat(allEventsSeen.get(4)).isEqualTo(firstWithConfiguration);
     assertThat(allEventsSeen.get(5).getEventId()).isEqualTo(BuildEventId.progressId(2));