Fix build on aosp-master/mainline_modules

Apply the same default as crosvm to avoid inconsistency.

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: I60725421b9fc40d7f30bf78eba876bb2b1adb832
2 files changed
tree: 54e3cfc78913cb20bada84b31e3c8545429f31d5
  1. src/
  2. Android.bp
  3. Cargo.lock
  4. Cargo.toml
  5. LICENSE
  6. METADATA
  7. MODULE_LICENSE_BSD
  8. OWNERS
  9. README.md
  10. TEST_MAPPING
README.md

libchromeos-rs - The Rust crate for common Chrome OS code

libchromeos-rs contains Rust code that can be reused across any Chrome OS project. It's the Rust equivalent of libbrillo.

Current modules include:

  • syslog - an adaptor for using the generic log crate with syslog
  • vsock - wrappers for dealing with AF_VSOCK sockets