summaryrefslogtreecommitdiff
path: root/opengl/libagl/egl.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2017-02-13 16:42:28 -0800
committer Mathias Agopian <mathias@google.com> 2017-02-17 12:27:27 -0800
commita9347647eca3101c014be902b713772de3977d87 (patch)
tree42a320f3a3f0612ae8e636f855e92c829d267d47 /opengl/libagl/egl.cpp
parent7777e9f6d17a4fa245c10ba54b4d442f65caa23f (diff)
Break a dependency of libui on libandroid
This was only a header dependency, but it still created a circular dependency, which will cause problems in another CL. We fix this by creating a libarect static library containing only that header. both libui and libandroid now depend on it and reexport the header. We also make sure rect.h ends-up in the right place. Test: built and booted device Bug: 35164655 Change-Id: Iba25b8b801b26b26ec1401c00caf367a06f197ca
Diffstat (limited to 'opengl/libagl/egl.cpp')
-rw-r--r--opengl/libagl/egl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/libagl/egl.cpp b/opengl/libagl/egl.cpp
index 48bf676327..04f6d6d1a3 100644
--- a/opengl/libagl/egl.cpp
+++ b/opengl/libagl/egl.cpp
@@ -33,6 +33,7 @@
#include <ui/ANativeObjectBase.h>
#include <ui/Fence.h>
#include <ui/GraphicBufferMapper.h>
+#include <ui/Rect.h>
#include <EGL/egl.h>
#include <EGL/eglext.h>