fallout of splitting rect.h out of libandroid.

Some makefiles didn’t specify libui but included
headers from it directly, and they didn’t even
need them.

It works because these headers are on the global
include path. With this change, though, rect.h
is not anymore (albeit exported from libui).

Test: built and booted device
Bug: 35164655
Change-Id: Ib2de5e5a2f86bd857e12861bb6fc5e4739ff185a
This commit is contained in:
Mathias Agopian 2017-02-15 17:20:00 -08:00 committed by Dan Pasanen
parent 352f964ecc
commit ba3446132c
3 changed files with 2 additions and 3 deletions

View File

@ -32,9 +32,7 @@
#include <gralloc_priv.h>
#include <comptype.h>
#include <ui/Region.h>
#include <hardware/hwcomposer.h>
#include <utils/String8.h>
namespace qhwc {

View File

@ -27,6 +27,8 @@
#include "cb_utils.h"
#include "cb_swap_rect.h"
#include <ui/Region.h>
/* get union of two rects into 3rd rect */
void getUnion(hwc_rect_t& rect1,hwc_rect_t& rect2, hwc_rect_t& irect) {

View File

@ -29,7 +29,6 @@
#ifndef CB_UTIL_H
#define CB_UTIL_H
#include <ui/Region.h>
#include "hwc_utils.h"
using namespace qhwc;