tast: arc: Add dependency for ability to use Android /data from ChromeOS
To access Android's /data directory from ChromeOS, the device needs to
either not have ARCVM virtio-blk /data enabled or have the host kernel
version 5.2 or above. This CL adds a software dependency
arc_android_data_cros_access to ensure this. Note that for ARCVM
virtio-blk /data enabled devices, this dependency does not automatically
make Android's /data directory available to the host, but only
guarantees that the virtio-blk disk image of Android's /data can be
mounted on the host.
BUG=b:233565855
TEST=`./fast_build.sh -T` passed.
Change-Id: Id0e5bb4a07ca36cf08fbad477d58a46b23cb6e73
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/3828080
Reviewed-by: Seewai Fu <[email protected]>
Commit-Queue: Momoko Hattori <[email protected]>
Reviewed-by: Youkichi Hosoi <[email protected]>
Reviewed-by: Risan <[email protected]>
Tested-by: Momoko Hattori <[email protected]>
diff --git a/docs/test_dependencies.md b/docs/test_dependencies.md
index 97f6e5f..1dd07a3 100644
--- a/docs/test_dependencies.md
+++ b/docs/test_dependencies.md
@@ -25,6 +25,10 @@
only when ARC is supported on the board.
* `arc32` - Runs 32-bit Android primary ABI.
* `arc64` - Runs 64-bit Android primary ABI, may or may not have 32-bit support.
+* `arc_android_data_cros_access` - The ability to access Android's /data directory from ChromeOS.
+ For ARCVM virtio-blk /data devices, this only ensures that we can mount the virtio-blk disk
+ image of Android's /data directory on the host, and does not grant an automatic access to
+ Android's /data directory from the host side.
* `arc_camera1` - Using [Camera HAL3] in Chrome and [Camera HAL1] in Android.
* `arc_camera3` - Using [Camera HAL3] interface in Chrome and Android.
* `arc_launched_32bit` - This platform originally launched with 32-bit Android.