summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2023-10-12 10:15:46 +0900
committerSu Hong Koo <sukoo@google.com>2024-07-30 10:54:34 -0400
commit4bd09d78df0bf7dd78a698c14ba5ea2f3a69e4ea (patch)
treeb1d160deca3f01922371d25fa56f0f779903c474
parentd9043a256f4fdf15e7219c87a22801870499d1d5 (diff)
Enable GPU in crosvm
When the GPU feature is turned on in crosvm, these modules are added as dependencies. Since crosvm is included in the virt APEX, add the APEX to the apex_available properties of the modules to make them available in the APEX.
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index b512fc2f..5e0763c7 100644
--- a/Android.bp
+++ b/Android.bp
@@ -53,6 +53,10 @@ cc_library_headers {
host_supported: true,
defaults: ["libdrm_defaults"],
export_include_dirs: ["include/drm", "android"],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
// Library for the device