diff options
author | 2017-02-13 16:42:28 -0800 | |
---|---|---|
committer | 2017-02-17 12:27:27 -0800 | |
commit | a9347647eca3101c014be902b713772de3977d87 (patch) | |
tree | 42a320f3a3f0612ae8e636f855e92c829d267d47 /libs/ui/Gralloc1.cpp | |
parent | 7777e9f6d17a4fa245c10ba54b4d442f65caa23f (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/Gralloc1.cpp')
-rw-r--r-- | libs/ui/Gralloc1.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ui/Gralloc1.cpp b/libs/ui/Gralloc1.cpp index 0083f58aca..7952ed6aa8 100644 --- a/libs/ui/Gralloc1.cpp +++ b/libs/ui/Gralloc1.cpp @@ -17,6 +17,7 @@ //#define LOG_NDEBUG 0 #include <ui/Gralloc1.h> +#include <ui/GraphicBuffer.h> #include <vector> |