Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: grpc/cmd/cproto/main.go

Issue 2219023003: Update APIs to use new Google cloud paths. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698