summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Michael Hoisie <hoisie@google.com> 2020-04-29 12:53:00 -0400
committer Michael Hoisie <hoisie@google.com> 2020-04-29 12:59:58 -0400
commitf1d308967e9d60e24cf1533c60906c6b3122edc7 (patch)
tree70c58a5cb7d03aa6fdf756409f3ad02bee79c7d8
parentae77d8d075196b03c8c1c7bc6730ec001d9d87c1 (diff)
Remove unused libhardware_headers dependency from libEGL
The libhardware_headers dependency is not being used in libEGL. Bug: 155235859 Test: m -j Change-Id: I4b24daf7255d9e109deed4f371327d3817c4d0e0
-rw-r--r--opengl/libs/Android.bp1
-rw-r--r--opengl/libs/EGL/egl.cpp2
-rw-r--r--opengl/libs/EGL/egl_platform_entries.cpp2
3 files changed, 0 insertions, 5 deletions
diff --git a/opengl/libs/Android.bp b/opengl/libs/Android.bp
index 19b8a58012..3997134f47 100644
--- a/opengl/libs/Android.bp
+++ b/opengl/libs/Android.bp
@@ -75,7 +75,6 @@ cc_defaults {
"bionic_libc_platform_headers",
"gl_headers",
"libsystem_headers",
- "libhardware_headers",
"libnativebase_headers",
],
export_header_lib_headers: ["gl_headers"],
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 0581708e7d..d5d57d7c9a 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -16,8 +16,6 @@
#include <stdlib.h>
-#include <hardware/gralloc.h>
-
#include <EGL/egl.h>
#include <cutils/properties.h>
diff --git a/opengl/libs/EGL/egl_platform_entries.cpp b/opengl/libs/EGL/egl_platform_entries.cpp
index 1b75b2034d..c976c609b7 100644
--- a/opengl/libs/EGL/egl_platform_entries.cpp
+++ b/opengl/libs/EGL/egl_platform_entries.cpp
@@ -23,8 +23,6 @@
#include <stdlib.h>
#include <string.h>
-#include <hardware/gralloc1.h>
-
#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <EGL/eglext_angle.h>