From 24b01d2de89100edda43463e69447bd9182b6df4 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 31 Jan 2020 16:51:54 -0800 Subject: [PATCH] libadbconnection_client: apply version script to library. Previously, we were using the version script for only the stubs in the library, which led to symbols from libc++_static leaking out. Bug: http://b/148504737 Test: booted a user build Change-Id: Ie22856f7d16cc837eb961f70195d49898bf7fb49 --- adb/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/adb/Android.bp b/adb/Android.bp index 7c5e3ea69..7e3be61ca 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -160,6 +160,7 @@ cc_library { // libadbconnection_client doesn't need an embedded build number. use_version_lib: false, + version_script: "adbconnection/libadbconnection_client.map.txt", stubs: { symbol_file: "adbconnection/libadbconnection_client.map.txt", versions: ["1"],