aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2023-10-12 10:15:46 +0900
committerJiyong Park <jiyong@google.com>2024-02-20 16:07:52 +0900
commit2d533abeaa34dbdc21b031ce39279d324b220017 (patch)
tree608e44313f0ef1b248a119f5c293aab06eff1c04
parentabf3e7957aebcf73d021bbb741922cd0528e3f88 (diff)
downloadlibdrm-2d533abeaa34dbdc21b031ce39279d324b220017.tar.gz
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. Bug: 325929966 Test: m Change-Id: I680d5231895d045f94ad4d6ef559cafa08e4340e
-rw-r--r--Android.bp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index dbac5626..7ed9174e 100644
--- a/Android.bp
+++ b/Android.bp
@@ -82,6 +82,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