Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
android/ | 25-Apr-2025 | - | 3,394 | 3,338 | ||
bindings/ | 25-Apr-2025 | - | 4,246 | 4,245 | ||
grpc/ | 25-Apr-2025 | - | 1,250,237 | 928,839 | ||
patches/ | 25-Apr-2025 | - | 3,809 | 3,795 | ||
src/ | 25-Apr-2025 | - | 41 | 29 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 716.2 KiB | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 2.9 KiB | 114 | 105 | |
Cargo.toml | D | 25-Apr-2025 | 3.1 KiB | 129 | 116 | |
LICENSE | D | 25-Apr-2025 | 11.1 KiB | 202 | 169 | |
METADATA | D | 25-Apr-2025 | 636 | 21 | 19 | |
MODULE_LICENSE_APACHE2 | D | 25-Apr-2025 | 0 | |||
README.android | D | 25-Apr-2025 | 736 | 17 | 13 | |
TEST_MAPPING | D | 25-Apr-2025 | 225 | 14 | 13 | |
build.rs | D | 25-Apr-2025 | 18.8 KiB | 569 | 470 | |
cargo2android-extra-module.bp.fragment | D | 25-Apr-2025 | 1.7 KiB | 63 | 59 | |
cargo2android_module.bp.fragment | D | 25-Apr-2025 | 53 | 5 | 4 | |
cargo_embargo.json | D | 25-Apr-2025 | 2.1 KiB | 75 | 74 | |
grpc_wrap.cc | D | 25-Apr-2025 | 28.1 KiB | 822 | 639 | |
link-deps.rs | D | 25-Apr-2025 | 2 KiB | 72 | 68 |
README.android
1This package is imported to Android and uses Android's external/grpc-grpc 2header files and compilation flags to generate bindings. 3 4The Android.bp file is manually written due to: 5 1. Binding to Android's existing copy of grpc instead of 6 the copy that is bundled within the crate. 7 2. The crates customized grpc_wrap.cc file that provides 8 additional translation logic. 9 3. A lot of bindgen customizations in build.rs. 10 11The following line is added to android/bindgen_wrapper.h. It's unclear why this 12is necessary, but building the grpcio crate fails without it. 13#include <grpc/support/cpu.h> 14 15If features are changed for the grpcio-sys crate, please ensure those 16features are changed in the grpcio_bindgen module. 17