@AutoCodec SupportData.

PiperOrigin-RevId: 189905795
diff --git a/src/main/java/com/google/devtools/build/lib/rules/proto/SupportData.java b/src/main/java/com/google/devtools/build/lib/rules/proto/SupportData.java
index 924b8c8..d21a4d9 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/proto/SupportData.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/proto/SupportData.java
@@ -21,23 +21,28 @@
 import com.google.devtools.build.lib.analysis.TransitiveInfoCollection;
 import com.google.devtools.build.lib.collect.nestedset.NestedSet;
 import com.google.devtools.build.lib.concurrent.ThreadSafety.Immutable;
+import com.google.devtools.build.lib.skyframe.serialization.autocodec.AutoCodec;
 
-/**
- * A helper class for the *Support classes containing some data from ProtoLibrary.
- */
+/** A helper class for the *Support classes containing some data from ProtoLibrary. */
+@AutoCodec
 @AutoValue
 @Immutable
 public abstract class SupportData {
+  @AutoCodec.Instantiator
   public static SupportData create(
       Predicate<TransitiveInfoCollection> nonWeakDepsPredicate,
-      ImmutableList<Artifact> protoSources,
+      ImmutableList<Artifact> directProtoSources,
       NestedSet<Artifact> protosInDirectDeps,
       NestedSet<Artifact> transitiveImports,
       NestedSet<String> transitiveProtoPathFlags,
       boolean hasProtoSources) {
     return new AutoValue_SupportData(
-        nonWeakDepsPredicate, protoSources, transitiveImports, protosInDirectDeps,
-        transitiveProtoPathFlags, hasProtoSources);
+        nonWeakDepsPredicate,
+        directProtoSources,
+        transitiveImports,
+        protosInDirectDeps,
+        transitiveProtoPathFlags,
+        hasProtoSources);
   }
 
   public abstract Predicate<TransitiveInfoCollection> getNonWeakDepsPredicate();