| commit | 3c1fad332c14ed9eacac694e7c06b61200b4f76c | [log] [tgz] |
|---|---|---|
| author | Stefano Duo <stefanoduo@google.com> | Tue Feb 25 15:51:35 2025 +0000 |
| committer | Stefano Duo <stefanoduo@google.com> | Thu Mar 13 15:51:50 2025 +0000 |
| tree | 6819e01af49452fc1863924163d84c20b82642a0 | |
| parent | b8c58edbbe33914cdb6332346a1b8ee0ce8ce59a [diff] |
[133.0.6876.3 v2] Add ToT/Stable build files The code in this commit was generated from the branch representing this import: https://chromium.googlesource.com/experimental/chromium/src/+/refs/wip/cronet/aosp-133.0.6876.3-v2. With commit SHA: c431541ea3e4539b058ad2c4a117c4790d608b26. This commit can be reproduced by running: $ gclient config --spec 'solutions = [ { "name": "src", "url": "https://chromium.googlesource.com/experimental/chromium/src.git", "managed": False, "custom_deps": {}, "custom_vars": { "checkout_copybara": True, }, }, ] target_os = ["android"] ' && gclient sync --rev=refs/wip/cronet/aosp-133.0.6876.3-v2 --shallow Then running the following commands: $ vpython3 components/cronet/gn2bp/run_gn2bp.py --channel=tot --skip-copybara $ export DIR=tot && find -name Android.bp.gn2bp | while read -r line; do cp -v "$line" "${AOSP_REPO}/external/cronet/${DIR}/${line%.gn2bp}"; done && cp third_party/boringssl/sources.bp "${AOSP_REPO}/external/cronet/${DIR}/third_party/boringssl/sources.bp" && cp third_party/boringssl/sources.mk "${AOSP_REPO}/external/cronet/${DIR}/third_party/boringssl/sources.mk" && cp Android.extras.bp.gn2bp "${AOSP_REPO}/external/cronet/${DIR}/Android.extras.bp" $ vpython3 components/cronet/gn2bp/run_gn2bp.py --channel=stable --skip-copybara $ export DIR=stable && find -name Android.bp.gn2bp | while read -r line; do cp -v "$line" "${AOSP_REPO}/external/cronet/${DIR}/${line%.gn2bp}"; done && cp third_party/boringssl/sources.bp "${AOSP_REPO}/external/cronet/${DIR}/third_party/boringssl/sources.bp" && cp third_party/boringssl/sources.mk "${AOSP_REPO}/external/cronet/${DIR}/third_party/boringssl/sources.mk" && cp Android.extras.bp.gn2bp "${AOSP_REPO}/external/cronet/${DIR}/Android.extras.bp" This step is needed to regenerate copybara's consistency file after moving everything into the import channel subdir. This is effectively import v2 of Cronet version 133.0.6876.3: that import has been reproduced under the new ToT and Stable import channels. Bug: b:396593141 Change-Id: I037e25560fdca5496de5e4c1c63555b113968c9a
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.