drm_hwcomposer: Add libdisplay-info dependency and update tar with library
Updating the Docker configuration to use new aospless tarball that
contains the required static libdisplay_info library for edid parsing.
Change-Id: Iccc893d4dabde36caca3da3e71d8b26193a82404
Signed-off-by: Lucas Berthou <berlu@google.com>
diff --git a/meson.build b/meson.build
index 8cfbbc8..97474e2 100644
--- a/meson.build
+++ b/meson.build
@@ -45,6 +45,12 @@
'-DUSE_IMAPPER4_METADATA_API',
]
+dep_libdisplay_info = dependency('display_info', required : false)
+if dep_libdisplay_info.found()
+ common_cpp_flags += '-DHAS_LIBDISPLAY_INFO'
+ deps += dep_libdisplay_info
+endif
+
hwc2_cpp_flags = [
'-DHWC2_INCLUDE_STRINGIFICATION',
'-DHWC2_USE_CPP11',