summaryrefslogtreecommitdiff
path: root/libs/hwui/Android.bp
diff options
context:
space:
mode:
authorStan Iliev <stani@google.com>2020-02-03 16:57:09 -0500
committerStan Iliev <stani@google.com>2020-02-07 12:27:07 -0500
commitc90438175fcd83c8890c426c28a3ded006faee35 (patch)
tree858217b23a153fbb64b3493d552ee09486b75777 /libs/hwui/Android.bp
parent76d19db2e4650ca4046056019b7e9db557a17b06 (diff)
Refactor GraphicsStatsService for updateability
Move GraphicsStatsService to android.graphics package. Move GraphicsStatsService JNI from libservices.core to libandroid_runtime. Declare GraphicsStatsService ctor as the only @SystemApi. Remove MemoryFile usage from GraphicsStatsService, but use SharedMemory and other SDK APIs instead. This is done to avoid using unstable API MemoryFile.getFileDescriptor. Propose new SharedMemory.getFdDup API for next release, which is hidden for now. Refactor statsd puller to avoid proto serialization by moving data directly into AStatsEventList. "libprotoutil" is added as a static dependancy to libhwui, which should be fine because its implementation does not link anything. Bug: 146353313 Test: Ran "adb shell cmd stats pull-source 10068" Test: Passed unit tests and GraphicsStatsValidationTest CTS Change-Id: If16c5addbd519cba33e03bd84ac312595032e0e1
Diffstat (limited to 'libs/hwui/Android.bp')
-rw-r--r--libs/hwui/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp
index 51270f5bcebd..301d1afc6c13 100644
--- a/libs/hwui/Android.bp
+++ b/libs/hwui/Android.bp
@@ -92,9 +92,12 @@ cc_defaults {
"libandroidfw",
"libcrypto",
"libsync",
+ "libstatspull",
+ "libstatssocket",
],
static_libs: [
"libEGL_blobCache",
+ "libprotoutil",
],
},
host: {