Fix build on aosp-master/mainline_modules

Apply the same default as crosvm to avoid inconsistency. libp9 depends
on libchromeos.

Previous error:
  error: external/libchromeos-rs/Android.bp:35:1: module "liblibchromeos"
  variant "linux_bionic_x86_64_rlib_rlib-std": depends on disabled module
  "libdata_model"

Bug: 174797066
Test: build/soong/scripts/build-mainline-modules.sh
Change-Id: I997c0a6ae2bd69935de1b0ded066942d1e7a1fa6
2 files changed
tree: 967325e8b38a28c2612b0a90ccf803c78752c9f3
  1. .clang-format
  2. .gitignore
  3. Android.bp
  4. Cargo.toml
  5. LICENSE
  6. METADATA
  7. MODULE_LICENSE_BSD
  8. OWNERS
  9. README.md
  10. TEST_MAPPING
  11. fuzz/
  12. src/
  13. wire_format_derive/
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.