From a536b4280e99dc2b09f372e64c5c68b5a1e3e11b Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 3 Feb 2020 10:02:41 -0800 Subject: [PATCH] The darwin linker does not support version scripts Fixes: 148774297 Test: m nothing on a mac Change-Id: I4000b2076fe2dde3776b112b506ee3266a529fc6 --- adb/Android.bp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/adb/Android.bp b/adb/Android.bp index 7e3be61ca..118531d1a 100644 --- a/adb/Android.bp +++ b/adb/Android.bp @@ -160,7 +160,11 @@ cc_library { // libadbconnection_client doesn't need an embedded build number. use_version_lib: false, - version_script: "adbconnection/libadbconnection_client.map.txt", + target: { + linux: { + version_script: "adbconnection/libadbconnection_client.map.txt", + }, + }, stubs: { symbol_file: "adbconnection/libadbconnection_client.map.txt", versions: ["1"],