1# Import process 2 31. `git pull` to pull a new version from sso://team/beto-rust-devs/beto-rust 4 5## If the dependency tree did not change significantly 6 72. It will be easier to manually update the Android.bp file to include the new dependencies. 8 For each new library that is needed, add it to the `rustlibs` section of the build rule. The 9 build rule is typically `lib<crate_name>`, but sometimes variants with different features exist, 10 in which case you will have to look up the target name in the relevent `Android.bp` file in code 11 search. 12 13## If the dependency tree changed significantly 14 152. Locally check out the `beto-core-staging` project, and run `scripts/prepare-boringssl.sh`. 164. Modify `.cargo/config.toml` to point to the external `rust-openssl` and `bssl-sys` crates. 175. Run `cargo2android.py --config cargo2android.json` 186. There are probably going to be merge conflicts. Fix them manually. Remove the 19 "Do not modify this file" comment added by cargo2android.json 207. Also modify `patches/Android.bp.patch` to include your manual changes. 218. Remove `cargo.out` and `target.tmp`, as those should not be checked in 22