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
..
common Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
facade Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
facade_proto Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
gddi Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
hal Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
hci Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
link Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
linux Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
main Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
packets Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
shim Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
topshim Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

Rust build

Currently, the Rust components are built differently on Android vs Linux. We are missing Rust support in our GN toolchain so we currently build the Rust libraries as a staticlib and link in C++. This may change in the future once we have better support.

For now, you can build all of the Rust code using Cargo.

There are some dependencies:

  • You must have the protobuf-compiler package installed
  • You must have a recent version of Cargo + Rust

You should use build.py at the root to do your Rust builds so that it correctly points your dependencies towards the vendored crates and sets your $CARGO_HOME to the correct location.