Skip to content
Snippets Groups Projects
Commit ee538a3a authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

Cleanup header and build targets for libhwui clients.

Targets that will also be contained within the UI module
are allowed to access internal headers.  All other targets
that depend on libhwui are restricted to using the APEX headers.

Bug: 137655431
Test: CtsUiRenderingTestCases
Change-Id: Id92e9874dafb98bd79839d45ab8f22ab999689de
parent c5882c4e
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ cc_library_shared {
"libandroid_runtime",
"libbinder",
"libcutils",
"libhwui",
"liblog",
"libutils",
"libgui",
......
......@@ -20,6 +20,7 @@ cc_test {
shared_libs: [
"libandroid_runtime",
"libinputservice",
"libhwui",
"libgui",
"libutils",
],
......
......@@ -81,6 +81,8 @@ cc_library_shared {
"libarect",
],
header_libs: [ "libhwui_internal_headers" ],
whole_static_libs: ["libnativedisplay", "libnativewindow"],
export_static_lib_headers: ["libarect"],
......
......@@ -37,6 +37,8 @@ cc_library_shared {
"liblog",
],
header_libs: [ "libhwui_internal_headers" ],
static_libs: ["libarect"],
arch: {
......
......@@ -30,12 +30,14 @@ cc_library_shared {
"graphic_buffer_impl.cpp",
],
header_libs: [ "libhwui_internal_headers" ],
shared_libs: [
"libandroidfw",
"libandroid_runtime",
"libcutils",
"libhwui",
"liblog",
"libnativehelper",
"libui",
"libutils",
"libvulkan",
......
......@@ -25,11 +25,9 @@
#include <cstdlib>
#include <jni.h>
#include <utils/Log.h>
#include "android/graphics/GraphicsJNI.h"
#include "GraphicsJNI.h"
#include "graphic_buffer_impl.h"
#include "SkCanvasStateUtils.h"
#include "SkGraphics.h"
#include "SkPicture.h"
#define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0])))
......
......@@ -11,6 +11,7 @@ LOCAL_SHARED_LIBRARIES := \
libnativehelper \
libRS \
libcutils \
libhwui \
liblog \
libutils \
libui \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment