summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Josh Gao <jmgao@google.com> 2020-01-16 20:06:46 -0800
committer Josh Gao <jmgao@google.com> 2020-01-16 23:21:16 -0800
commitff20525bc280f717e2eeebff9de247efb9a3d354 (patch)
tree2b709010db5af0dec7900c43fb819aff94120a95
parent1a6f1d81c50177326cdd7764a19b03ddfda883e7 (diff)
adbd_auth: actually dynamically link it into adbd.
Bug: http://b/137798163 Test: cat /proc/`pidof adbd`/maps | grep adbd_auth Change-Id: Ie86c65d50941ad97cc5c30d0392fd0d877585170
-rw-r--r--libs/adbd_auth/Android.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/adbd_auth/Android.bp b/libs/adbd_auth/Android.bp
index 9cf014380c..8ac044c091 100644
--- a/libs/adbd_auth/Android.bp
+++ b/libs/adbd_auth/Android.bp
@@ -20,11 +20,14 @@ cc_library {
"-Wthread-safety",
"-Werror",
],
+ stl: "libc++_static",
+
srcs: ["adbd_auth.cpp"],
export_include_dirs: ["include"],
version_script: "libadbd_auth.map.txt",
stubs: {
+ versions: ["1"],
symbol_file: "libadbd_auth.map.txt",
},
@@ -36,7 +39,7 @@ cc_library {
}
},
- shared_libs: [
+ static_libs: [
"libbase",
"libcutils",
"liblog",