aboutsummaryrefslogtreecommitdiff
path: root/tls
diff options
context:
space:
mode:
authorJoshua Duong <joshuaduong@google.com>2020-02-26 15:43:44 -0800
committerJoshua Duong <joshuaduong@google.com>2020-02-28 20:45:43 +0000
commit929364a1a8ab5862180aa843956cfacd1833c975 (patch)
tree30e3ca8fca7b663f5c7a0c5b5079386f73c0b7e5 /tls
parente9fdf4a9fafc7e8d27088b3fca1839f7b6bfc0b1 (diff)
downloadadb-929364a1a8ab5862180aa843956cfacd1833c975.tar.gz
Remove pairing_auth, pairing_connection from recovery.
Also remove statically linking libc++, because these libraries are not exported native shared libraries. We are slightly over the 12MB limit for ramdisk recovery size, so let's remove the adb pairing libraries, since they won't be used in recovery mode. These are only used in normal boot mode, and currently, only by adb client. The pairing server is used by system server. Bug: 150317254 Test: Check size of ramdisk-recovery.img in walleye, walleye-hwasam build to be under 12MB. Also verify installed-files-recovery.txt no longer contains libadb_pairing*. Also put phone into recovery mode, check system/lib64 for no libadb_pairing*. Change-Id: Ida7c4fdc9dda2b09091b853feac8df8f125e4274 Merged-In: Ida7c4fdc9dda2b09091b853feac8df8f125e4274 (cherry picked from commit afc2cf0dec44fb7a65f418d0928b5c2c63bbc6cd) Exempt-From-Owner-Approval: cherry-pick
Diffstat (limited to 'tls')
-rw-r--r--tls/Android.bp6
1 files changed, 1 insertions, 5 deletions
diff --git a/tls/Android.bp b/tls/Android.bp
index 49833ff4..f2837e11 100644
--- a/tls/Android.bp
+++ b/tls/Android.bp
@@ -42,12 +42,8 @@ cc_defaults {
"//system/core/adb:__subpackages__",
],
- stl: "libc++_static",
-
- static_libs: [
- "libbase",
- ],
shared_libs: [
+ "libbase",
"libcrypto",
"liblog",
"libssl",