The darwin linker does not support version scripts
Fixes: 148774297
Test: m nothing on a mac
Change-Id: I4000b2076fe2dde3776b112b506ee3266a529fc6
diff --git a/adb/Android.bp b/adb/Android.bp
index 7e3be61..118531d 100644
--- a/adb/Android.bp
+++ b/adb/Android.bp
@@ -160,7 +160,11 @@
// 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"],