commit | f326e9346dc7d3d4365c1d2c0ebbd285bccd794f | [log] [tgz] |
---|---|---|
author | vasilvv <vasilvv@google.com> | Thu Sep 07 11:56:40 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 07 11:57:34 2023 -0700 |
tree | 436115d3ed34bc827d66b28e68b53437805d102b | |
parent | d9d8780df8289eb3f169f0d1cb15b2ad656a4ee9 [diff] |
Streamline the use of QUICHE_EXPORT macros in quic/core. Previously, we had files that were in core/ that were not compiled in Chromium quiche component since they were not used there; because of that, those had to be manually tagged as QUIC_NO_EXPORT and be kept in sync with the structure of Chromium build files. This CL changes this to a much simpler approach of "everything in quic/core except for I/O directories uses QUICHE_EXPORT". This works because: (1) The linker will remove unused code anyways, so binary size should not be a concern. (2) We already build all of this code for tests, so it is neutral in terms of build time. (3) All of this code is already either cross-platform, or does not build for Windows (which is the only platform where QUICHE_EXPORT can cause things to fail to compile). This CL is a google3 counterpart of build file refactor in https://chromium-review.googlesource.com/c/chromium/src/+/4848368 PiperOrigin-RevId: 563502086
QUICHE stands for QUIC, Http, Etc. It is Google‘s production-ready implementation of QUIC, HTTP/2, HTTP/3, and related protocols and tools. It powers Google’s servers, Chromium, Envoy, and other projects. It is actively developed and maintained.
There are two public QUICHE repositories. Either one may be used by embedders, as they are automatically kept in sync:
To embed QUICHE in your project, platform APIs need to be implemented and build files need to be created. Note that it is on the QUICHE team's roadmap to include default implementation for all platform APIs and to open-source build files. In the meanwhile, take a look at open source embedders like Chromium and Envoy to get started:
To contribute to QUICHE, follow instructions at CONTRIBUTING.md.
QUICHE is only supported on little-endian platforms.