drm_hwcomposer: Add wrapper for EDID parsing
Use libdisplay-info to parse display EDID. Wrap the parsing logic in a
class to extract specific EDID information.
Change-Id: I20376eb96ebcd0073155cedf1e8f055bbf8dfb49
Signed-off-by: Sasha McIntosh <sashamcintosh@google.com>
diff --git a/Android.bp b/Android.bp
index e7a77bd..a8d95eb 100644
--- a/Android.bp
+++ b/Android.bp
@@ -39,6 +39,7 @@
static_libs: [
"libaidlcommonsupport",
+ "libdisplay_info",
],
header_libs: [
@@ -51,6 +52,7 @@
],
cppflags: [
+ "-DHAS_LIBDISPLAY_INFO",
"-DHWC2_INCLUDE_STRINGIFICATION",
"-DHWC2_USE_CPP11",
],