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. Android.bp
  2. Cargo.lock
  3. Cargo.toml
  4. LICENSE
  5. METADATA
  6. MODULE_LICENSE_BSD
  7. OWNERS
  8. README.md
  9. TEST_MAPPING
  10. src/
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