Reland "Merge commit '4c51abf12053e3c43a62059c693322ea992b35ce' into main" This is a reland of commit 98137ddf9a4ca85fcf18ab1b4923fcf46e38748d It is not tenable to have to fully patch fuchsia.git's //build/secondary/third_party/grpc/BUILD.gn into the main here whenever we need to update the gRPC GI pin and avoid a breaking change so instead we have decided to maintain the copy here in sync with //build/secondary/third_party/grpc/BUILD.gn Original change's description: > Merge commit '4c51abf12053e3c43a62059c693322ea992b35ce' into main > > Removed Fuchsia specific local patch: templates/BUILD.gn.template and README.Fuchsia > > Copied BUILD.gn from https://fuchsia-review.git.corp.google.com/c/fuchsia/+/1151492 > > https://fuchsia.googlesource.com/third_party/grpc/+/4c51abf12053e3c43a62059c693322ea992b35ce is the head commit of tag/1.48.0-pre1 > Run git diff between this commit and 4c51abf12053e3c43a62059c693322ea992b35ce, the only diff is BUILD.gn. > > Note that this change is ONLY used for avoiding breaking change. It is a transition change for upreving gRPC to tag/1.48.0-pre1. > > Bug: 377536116 > > Change-Id: Ie4eefa0f9c2abecf051a856bd885fb6f905b0144 > Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/grpc/+/1151415 > Reviewed-by: Francois Rousseau <frousseau@google.com> Bug: 377536116 Change-Id: I61e5ac7fede996f9334ee6b397bb086d56cbc00b Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/grpc/+/1157254 Reviewed-by: Francois Rousseau <frousseau@google.com>
gRPC is a modern, open source, high-performance remote procedure call (RPC) framework that can run anywhere. gRPC enables client and server applications to communicate transparently, and simplifies the building of connected systems.
To maximize usability, gRPC supports the standard method for adding dependencies to a user‘s chosen language (if there is one). In most languages, the gRPC runtime comes as a package available in a user’s language package manager.
For instructions on how to use the language-specific gRPC runtime for a project, please refer to these documents
src/cpp directoryGrpcgrpcgo get google.golang.org/grpcnpm install grpcgRPC-ProtoRPC dependency to podspecpecl install grpcpip install grpciogem install grpcPer-language quickstart guides and tutorials can be found in the documentation section on the grpc.io website. Code examples are available in the examples directory.
Precompiled bleeding-edge package builds of gRPC master branch's HEAD are uploaded daily to packages.grpc.io.
Contributions are welcome!
Please read How to contribute which will guide you through the entire workflow of how to build the source code, how to run the tests, and how to contribute changes to the gRPC codebase. The “How to contribute” document also contains info on how the contribution process works and contains best practices for creating contributions.
Sometimes things go wrong. Please check out the Troubleshooting guide if you are experiencing issues with gRPC.
See the Performance dashboard for performance numbers of master branch daily builds.
See gRPC Concepts
This repository contains source code for gRPC libraries implemented in multiple languages written on top of a shared C core library src/core.
Libraries in different languages may be in various states of development. We are seeking contributions for all of these libraries:
| Language | Source |
|---|---|
| Shared C [core library] | src/core |
| C++ | src/cpp |
| Ruby | src/ruby |
| Python | src/python |
| PHP | src/php |
| C# (core library based) | src/csharp |
| Objective-C | src/objective-c |
| Language | Source repo |
|---|---|
| Java | grpc-java |
| Kotlin | grpc-kotlin |
| Go | grpc-go |
| NodeJS | grpc-node |
| WebJS | grpc-web |
| Dart | grpc-dart |
| .NET (pure C# impl.) | grpc-dotnet |
| Swift | grpc-swift |