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:
parent
dc7fc0f2ac
commit
2e3a46c539
|
@ -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 {
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#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) {
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifndef CB_UTIL_H
|
||||
#define CB_UTIL_H
|
||||
|
||||
#include <ui/Region.h>
|
||||
#include "hwc_utils.h"
|
||||
|
||||
using namespace qhwc;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#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) {
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifndef CB_UTIL_H
|
||||
#define CB_UTIL_H
|
||||
|
||||
#include <ui/Region.h>
|
||||
#include "hwc_utils.h"
|
||||
|
||||
using namespace qhwc;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#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) {
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifndef CB_UTIL_H
|
||||
#define CB_UTIL_H
|
||||
|
||||
#include <ui/Region.h>
|
||||
#include "hwc_utils.h"
|
||||
#include "copybit.h"
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
#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) {
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifndef CB_UTIL_H
|
||||
#define CB_UTIL_H
|
||||
|
||||
#include <ui/Region.h>
|
||||
#include "hwc_utils.h"
|
||||
|
||||
using namespace qhwc;
|
||||
|
|
Loading…
Reference in New Issue