[PATCH libdrm] modetest: Make modetest availble to vendor on Android

Rob Barnes robbarnes at google.com
Tue Oct 29 14:43:05 UTC 2024


Make modetest available to vendors on Android. libdrm_util and
libdrm_test_headers is also made available to vendors since these are
depenencies of modetest. This results in the module target
modetest.vendor being availble to vendor modules.

Signed-off-by: Rob Barnes <robbarnes at google.com>
---
 tests/Android.bp          | 1 +
 tests/modetest/Android.bp | 1 +
 tests/util/Android.bp     | 1 +
 3 files changed, 3 insertions(+)

diff --git a/tests/Android.bp b/tests/Android.bp
index cdc6c2cf..7eb3e3a9 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -3,4 +3,5 @@ subdirs = ["*"]
 cc_library_headers {
     name: "libdrm_test_headers",
     export_include_dirs: ["."],
+    vendor_available: true,
 }
diff --git a/tests/modetest/Android.bp b/tests/modetest/Android.bp
index 02688da2..f60c7ac7 100644
--- a/tests/modetest/Android.bp
+++ b/tests/modetest/Android.bp
@@ -9,4 +9,5 @@ cc_binary {
 
     shared_libs: ["libdrm"],
     static_libs: ["libdrm_util"],
+    vendor_available: true,
 }
diff --git a/tests/util/Android.bp b/tests/util/Android.bp
index 36d18206..9c1698e3 100644
--- a/tests/util/Android.bp
+++ b/tests/util/Android.bp
@@ -32,4 +32,5 @@ cc_library_static {
     shared_libs: ["libdrm"],
     header_libs: ["libdrm_test_headers"],
     export_header_lib_headers: ["libdrm_test_headers"],
+    vendor_available: true,
 }
-- 
2.47.0.163.g1226f6d8fa-goog



More information about the dri-devel mailing list