From a629e2e578acf83dbadd55b70c3221c4289d7031 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Fri, 13 Nov 2015 17:55:45 -0800 Subject: [PATCH] adb: don't link against libcutils on Windows. Bug: http://b/25693157 Change-Id: Ie1f082a094371124b4d66c87c7ab1a0706271b9d --- adb/Android.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/adb/Android.mk b/adb/Android.mk index 5ddc93796..c38cf9375 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -261,9 +261,12 @@ LOCAL_STATIC_LIBRARIES := \ libadb \ libbase \ libcrypto_static \ - libcutils \ liblog \ +# Don't use libcutils on Windows. +LOCAL_STATIC_LIBRARIES_darwin := libcutils +LOCAL_STATIC_LIBRARIES_linux := libcutils + LOCAL_CXX_STL := libc++_static # Don't add anything here, we don't want additional shared dependencies