Clone this repo:

Branches

  1. 6f0d813 cronet: Fix build with custom out directory by M. Masters · 2 years, 6 months ago 16.0
  2. 3d00a6f Snap for 13219462 from d537a4bb938a71decc07d96a35f2659a1469e63d to 25Q2-release by Android Build Coastguard Worker · 1 year, 1 month ago
  3. d537a4b Merge "Fix kotlin formatter" into main am: 994e4b77aa am: 0288be3751 by Treehugger Robot · 1 year, 1 month ago
  4. a17cbc2 Merge changes from topic "pony" into main am: b2ea54ca0d am: 991eda4b78 by Stefano Duo · 1 year, 1 month ago
  5. 0288be3 Merge "Fix kotlin formatter" into main am: 994e4b77aa by Treehugger Robot · 1 year, 1 month ago

Cronet (HttpEngine)

Cronet is Chrome's networking stack packaged into a client networking library for Android. It significantly improves performance thanks to highly optimized code and support of modern protocols like QUIC and HTTP/3.

Cronet is imported through copybara from Chromium. Please do not submit any changes to this repoistory or touch the Android.bp as they are auto-generated. Contact cronet-team@ for more information

Repository Layout

See go/cronet-structure-in-aosp for more additional details

AOSP-only

android/ only exists in AOSP and is not imported from Chromium. This contains tools and code that is usually developed in AOSP and is not related to Chromium (eg: HttpEngine API).

Third-party code

This include the top-level third_party/. It's important to note that there are some third-party code that lives under first-party code (eg: QUICHE which lives under net/third_party). Those should be moved to the top-level third_party directory at some point but we will only do so once chromium has done that.

Rust Third-party code

We follow the same structure which Rust follows in AOSP where the crates live under third_party/rust/chromium_crates_io/vendor but the BUILD.gn which defines the build target lives under third_party/rust/{library_name} (eg: aho-corasick). For more information, see the README.md in Chromium for Rust crates.