diff --git a/src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java b/src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java index 76b55f9effd9bd..a90528822c990c 100644 --- a/src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java +++ b/src/test/java/com/google/devtools/build/lib/packages/util/MockProtoSupport.java @@ -173,9 +173,7 @@ private static void createNetProto2(MockToolsConfig config) throws IOException { "net/proto2/go/BUILD", "package(default_visibility=['//visibility:public'])", "go_library(name = 'protodeps',", - " srcs = [ 'protodeps.go' ])", - "go_library(name = 'proto',", - " srcs = [ 'proto.go' ])"); + " srcs = [ 'protodeps.go' ])"); config.create("net/proto2/compiler/go/BUILD", "package(default_visibility=['//visibility:public'])", "go_binary(name = 'protoc-gen-go',",