diff options
author | Sean Callanan <spyffe@google.com> | 2019-11-26 16:23:16 -0800 |
---|---|---|
committer | Sean Callanan <spyffe@google.com> | 2019-11-27 10:28:20 -0800 |
commit | 13d89275931df8d13815bdfe4e59d22f051cfb17 (patch) | |
tree | 7b2b183b9b259609fe8234645be2709566aa45f3 /Android.bp | |
parent | 67c5c7e356f234c96b442572113b0ad77091d620 (diff) | |
download | igt-gpu-tools-13d89275931df8d13815bdfe4e59d22f051cfb17.tar.gz |
igt-gpu-tools: build kms_flip tests
The kms_flip tests validate the core buffer flipping path. Ensure
that they build and #ifdef out dependencies that are not resolved
on Android.
Notably this disables cairo and pixman support for now, which
means hand-conversion of buffer formats and drawing sample images
won't work.
Bug: 145243412
Test: m kms_flip
Change-Id: Ib9e74ea7efa637d647ac453700bbbfab95067b76
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index 4b03563a3..0017a61ec 100644 --- a/Android.bp +++ b/Android.bp @@ -22,11 +22,16 @@ cc_library_static { "lib/igt_aux.c", "lib/igt_core.c", "lib/igt_debugfs.c", + "lib/igt_device.c", "lib/igt_dummyload.c", + "lib/igt_fb.c", "lib/igt_kmod.c", + "lib/igt_kms.c", + "lib/igt_stats.c", "lib/igt_sysfs.c", "lib/ioctl_wrappers.c", "lib/i915/gem_mman.c", + "lib/uwildmat/uwildmat.c" ], export_include_dirs: [ "lib", @@ -46,3 +51,10 @@ cc_test { defaults: ["igt-gpu-tools-test-defaults"], srcs: ["benchmarks/gem_blt.c"], } + +cc_test { + name: "kms_flip", + defaults: ["igt-gpu-tools-test-defaults"], + srcs: ["tests/kms_flip.c"], +} + |