1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
android Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
bindings Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
grpc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
patches Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
src Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
.cargo_vcs_info.json Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Android.bp Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Cargo.toml Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Cargo.toml.orig Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
LICENSE Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
METADATA Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
MODULE_LICENSE_APACHE2 Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
OWNERS Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.android Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
build.rs Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
grpc_wrap.cc Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
post_update.sh Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.android

This package is imported to Android and uses Android's external/grpc-grpc
header files and compilation flags to generate bindings.

The Android.bp file is manually written due to:
    1. Binding to Android's existing copy of grpc instead of
       the copy that is bundled within the crate.
    2. The crates customized grpc_wrap.cc file that provides
       additional translation logic.
    3. A lot of bindgen customizations in build.rs.

The following line is added to android/bindgen_wrapper.h. It's unclear why this
is necessary, but building the grpcio crate fails without it.
#include <grpc/support/cpu.h>

If features are changed for the grpcio-sys crate, please ensure those
features are changed in the grpcio_bindgen module.