summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2022-12-22 22:25:47 +0000
committer Steven Moreland <smoreland@google.com> 2022-12-22 23:40:01 +0000
commitff325420df1de035848c2fec05d672e9b02cc9c4 (patch)
tree36683d556c6c4858297661c21a5611a58e35749e
parent112211eef138418eb21137e81b98162467dc5cff (diff)
libbinder_ndk: static link certain libs
Avoid private dirty cost for loading these shared libs. Bug: N/A Test: N/A Change-Id: I7ea4c37a4bc58830440fe16d7ce760f202c3ad36
-rw-r--r--libs/binder/ndk/Android.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/binder/ndk/Android.bp b/libs/binder/ndk/Android.bp
index 8ae7537486..58ed4188e2 100644
--- a/libs/binder/ndk/Android.bp
+++ b/libs/binder/ndk/Android.bp
@@ -66,10 +66,14 @@ cc_library {
"service_manager.cpp",
],
- shared_libs: [
+ static_libs: [
"libandroid_runtime_lazy",
"libbase",
+ ],
+
+ shared_libs: [
"libbinder",
+ "liblog",
"libutils",
],