Use --copy-out to generate .bp file.

* The original include command now works without
  local patch or post_update.sh.

Bug: 171659849
Test: make
Test: tools/external_updater/updater.sh update --refresh --keep-date rust/crates/protobuf
Change-Id: I973c7ac3dfa4f8233f8522b1ada678a9ef144f73
3 files changed
tree: 724b1c3558513f67e5657e216be8d2b8773d356b
  1. benches/
  2. out/
  3. src/
  4. .cargo_vcs_info.json
  5. Android.bp
  6. build.rs
  7. Cargo.toml
  8. Cargo.toml.orig
  9. LICENSE.txt
  10. METADATA
  11. MODULE_LICENSE_MIT
  12. OWNERS
  13. README.md
  14. regenerate.sh
README.md

How to develop rust-protobuf itself

cargo test --all to build everything.

If code generator is changed, code needs to be regenerated, see regenerate.sh.