public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_colorop: Include local glib header for Android
@ 2026-02-23 16:41 Mark Yacoub
  2026-02-23 22:47 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mark Yacoub @ 2026-02-23 16:41 UTC (permalink / raw)
  To: igt-dev; +Cc: sashamcintosh

From: Sasha McIntosh <sashamcintosh@google.com>

igt-gpu-tools requires glib.h, which on Android is provided via a local
header in the android/ directory.

Signed-off-by: Sasha McIntosh <sashamcintosh@google.com>
---
 tests/kms_colorop.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/kms_colorop.c b/tests/kms_colorop.c
index 876f089fd..bb15350ef 100644
--- a/tests/kms_colorop.c
+++ b/tests/kms_colorop.c
@@ -6,7 +6,11 @@
 #include "sw_sync.h"
 #include "kms_colorop_helper.h"
 
+#ifdef ANDROID
+#include "android/glib.h"
+#else
 #include <glib.h>
+#endif
 
 /**
  * TEST: kms colorop
-- 
2.53.0.345.g96ddfc5eaa-goog


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-25 11:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-23 16:41 [PATCH i-g-t] tests/kms_colorop: Include local glib header for Android Mark Yacoub
2026-02-23 22:47 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-02-23 22:49 ` ✗ i915.CI.BAT: failure " Patchwork
2026-02-24 18:30   ` Kamil Konieczny
2026-02-24 14:24 ` ✓ Xe.CI.FULL: success " Patchwork
2026-02-24 18:29 ` [PATCH i-g-t] " Kamil Konieczny
2026-02-25 11:44 ` Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox