Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
android/ | 23-Nov-2023 | - | 4 | 3 | ||
bindings/ | 23-Nov-2023 | - | 8,058 | 8,056 | ||
grpc/ | 23-Nov-2023 | - | 864,191 | 625,836 | ||
patches/ | 23-Nov-2023 | - | 134 | 130 | ||
src/ | 23-Nov-2023 | - | 39 | 26 | ||
.cargo_vcs_info.json | D | 23-Nov-2023 | 74 | 6 | 5 | |
Android.bp | D | 23-Nov-2023 | 4.2 KiB | 137 | 129 | |
Cargo.toml | D | 23-Nov-2023 | 2.5 KiB | 66 | 56 | |
Cargo.toml.orig | D | 23-Nov-2023 | 2.3 KiB | 74 | 70 | |
LICENSE | D | 23-Nov-2023 | 11.1 KiB | 202 | 169 | |
METADATA | D | 23-Nov-2023 | 382 | 20 | 19 | |
MODULE_LICENSE_APACHE2 | D | 23-Nov-2023 | 0 | |||
OWNERS | D | 23-Nov-2023 | 40 | 2 | 1 | |
README.android | D | 23-Nov-2023 | 736 | 17 | 13 | |
build.rs | D | 23-Nov-2023 | 15.1 KiB | 454 | 373 | |
grpc_wrap.cc | D | 23-Nov-2023 | 26.3 KiB | 776 | 601 | |
post_update.sh | D | 23-Nov-2023 | 206 | 13 | 4 |
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