Add Android.bp files am: 40876dcd90 am: a9efd485f2 am: 591a5f2bff

Original change: https://android-review.googlesource.com/c/platform/external/vm_tools/p9/+/1468200

Change-Id: Id9b713fb2c640e189b8017efab4d22a7a7f9dd24
tree: b54dcd4474b7f6195f7426d1c1ac3867c7fe5729
  1. fuzz/
  2. src/
  3. wire_format_derive/
  4. .clang-format
  5. .gitignore
  6. Android.bp
  7. Cargo.toml
  8. LICENSE
  9. METADATA
  10. MODULE_LICENSE_BSD
  11. OWNERS
  12. README.md
  13. TEST_MAPPING
README.md

p9 - Server implementation of the 9p file system protocol

This directory contains the protocol definition and a server implementation of the 9p file system protocol.

  • wire_format_derive - A procedural macro that derives the serialization and de-serialization implementation for a struct into the 9p wire format.
  • src/protocol - Defines all the messages used in the 9p protocol. Also implements serialization and de-serialization for some base types (integers, strings, vectors) that form the foundation of all 9p messages. Wire format implementations for all other messages are derived using the wire_format_derive macro.
  • src/server.rs - Implements a full 9p server, carrying out file system requests on behalf of clients.