Index: grpc/cmd/cproto/main.go |
diff --git a/grpc/cmd/cproto/main.go b/grpc/cmd/cproto/main.go |
index e29dc5092f3312e2857713c1217832bb7c922dda..a3b61bcfd9cdcd5cc8778d8cb8d370f3450c54ad 100644 |
--- a/grpc/cmd/cproto/main.go |
+++ b/grpc/cmd/cproto/main.go |
@@ -44,9 +44,10 @@ func resolveGoogleProtobufPackages(c context.Context) (map[string]string, error) |
const ( |
protoPrefix = "google/protobuf/" |
pkgPath = "github.com/luci/luci-go/common/proto/google" |
+ descPkgPath = "google.golang.org/genproto/protobuf" |
) |
var result = map[string]string{ |
- protoPrefix + "descriptor.proto": pkgPath + "/descriptor", //snowflake |
+ protoPrefix + "descriptor.proto": descPkgPath, //snowflake |
} |
pkg, err := build.Import(pkgPath, "", build.FindOnly) |