From 4bd09d78df0bf7dd78a698c14ba5ea2f3a69e4ea Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Thu, 12 Oct 2023 10:15:46 +0900 Subject: [PATCH] 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. --- Android.bp | 4 ++++ 1 file changed, 4 insertions(+) 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