Re-disable host cross builds for proc_macro2 This CL re-applies the manual edits to the generated Android.bp files for Cronet's Rust crates necessary to prevent attempts to build proc_macro2 as a host cross target. Previous changes applied in Ia4e2725875ee60197e28748407cbc49f9bb5f0d3 Bug: 392704960 Bug: 374842582 Change-Id: I7003d6bff92e316de80ebaef16bb4b2819cfb49f
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
See go/cronet-structure-in-aosp for more additional details
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).
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.
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.