diff mbox series

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

Message ID 20241029144305.2911711-1-robbarnes@google.com (mailing list archive)
State New
Headers show
Series [libdrm] modetest: Make modetest availble to vendor on Android | expand

Commit Message

Rob Barnes Oct. 29, 2024, 2:43 p.m. UTC
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@google.com>
---
 tests/Android.bp          | 1 +
 tests/modetest/Android.bp | 1 +
 tests/util/Android.bp     | 1 +
 3 files changed, 3 insertions(+)

Comments

Dmitry Baryshkov Oct. 31, 2024, 7:32 p.m. UTC | #1
On Tue, Oct 29, 2024 at 02:43:05PM +0000, Rob Barnes wrote:
> 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@google.com>
> ---
>  tests/Android.bp          | 1 +
>  tests/modetest/Android.bp | 1 +
>  tests/util/Android.bp     | 1 +
>  3 files changed, 3 insertions(+)
> 

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Rob Barnes Oct. 31, 2024, 10:48 p.m. UTC | #2
This change was merged in
https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/399.

On Thu, Oct 31, 2024 at 1:32 PM Dmitry Baryshkov <
dmitry.baryshkov@linaro.org> wrote:

> On Tue, Oct 29, 2024 at 02:43:05PM +0000, Rob Barnes wrote:
> > 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@google.com>
> > ---
> >  tests/Android.bp          | 1 +
> >  tests/modetest/Android.bp | 1 +
> >  tests/util/Android.bp     | 1 +
> >  3 files changed, 3 insertions(+)
> >
>
> Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> --
> With best wishes
> Dmitry
>
diff mbox series

Patch

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,
 }