Bug: 263150094

Clone this repo:
  1. e4c4755 Import 18th Mar 2025 ToT Cronet from Chromium to AOSP by Copybara · 8 days ago main master
  2. 994e4b7 Merge "Fix kotlin formatter" into main by Treehugger Robot · 3 weeks ago
  3. b2ea54c Merge changes from topic "pony" into main by Stefano Duo · 3 weeks ago
  4. 643f9c1 Delete Cronet top-level import by Stefano Duo · 3 weeks ago
  5. e35d281 Delete Cronet top-level import by Stefano Duo · 3 weeks 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.