From 69084b12689daa86fdcb28da45dcebc7e63503b8 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 7 Dec 2020 15:52:02 +0900 Subject: add crosvm to com.android.virt To do so, crosvm and its dependencies have the apex_available property set to "//apex_available:platform", "com.android.virt" to explicitly acknowledge the joining. Bug: 174639241 Test: m com.android.virt Change-Id: Id707fca5e45091018712ce58fc4aeae11807381d --- Android.bp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Android.bp') diff --git a/Android.bp b/Android.bp index 81236b0..d978ec2 100644 --- a/Android.bp +++ b/Android.bp @@ -1,4 +1,4 @@ -// This file is generated by cargo2android.py --run --device --tests --dependencies. +// This file is generated by cargo2android.py --run --dependencies --device --tests --patch=patches/Android.bp.patch. rust_library { name: "libslab", @@ -6,6 +6,10 @@ rust_library { crate_name: "slab", srcs: ["src/lib.rs"], edition: "2015", + apex_available: [ + "//apex_available:platform", + "com.android.virt", + ], } rust_defaults { -- cgit v1.2.3