public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Mark Yacoub <markyacoub@google.com>
To: igt-dev@lists.freedesktop.org
Cc: sashamcintosh@google.com
Subject: [PATCH i-g-t] tests/kms_colorop: Include local glib header for Android
Date: Mon, 23 Feb 2026 11:41:51 -0500	[thread overview]
Message-ID: <20260223164151.3307217-1-markyacoub@google.com> (raw)

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


             reply	other threads:[~2026-02-23 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 16:41 Mark Yacoub [this message]
2026-02-23 22:47 ` ✓ Xe.CI.BAT: success for tests/kms_colorop: Include local glib header for Android 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260223164151.3307217-1-markyacoub@google.com \
    --to=markyacoub@google.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=sashamcintosh@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox