summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc1On0Adapter.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 /libs/ui/Gralloc1On0Adapter.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 'libs/ui/Gralloc1On0Adapter.cpp')
-rw-r--r--libs/ui/Gralloc1On0Adapter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ui/Gralloc1On0Adapter.cpp b/libs/ui/Gralloc1On0Adapter.cpp
index a0bbe63cbd..4cc0e4b4d8 100644
--- a/libs/ui/Gralloc1On0Adapter.cpp
+++ b/libs/ui/Gralloc1On0Adapter.cpp
@@ -21,6 +21,7 @@
#include <hardware/gralloc.h>
#include <ui/Gralloc1On0Adapter.h>
+#include <ui/GraphicBuffer.h>
#include <utils/Log.h>