summaryrefslogtreecommitdiffstats
path: root/adb/Android.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-24 14:08:03 -0800
committerDan Albert <danalbert@google.com>2015-02-24 14:08:03 -0800
commit88cf1c8c4ac986b89d90eed798f51fa007787db0 (patch)
tree04775ddb2e476fec64e735c9f4436dc0e8ef9a20 /adb/Android.mk
parentdb3a5d984eb962ec64988404a7ba0361e4af214c (diff)
downloadsystem_core-88cf1c8c4ac986b89d90eed798f51fa007787db0.tar.gz
system_core-88cf1c8c4ac986b89d90eed798f51fa007787db0.tar.bz2
system_core-88cf1c8c4ac986b89d90eed798f51fa007787db0.zip
Fix Windows SDK build.
Change-Id: I9c0f9c92c28867ff17f1ec83aac935d18348c335
Diffstat (limited to 'adb/Android.mk')
-rw-r--r--adb/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/adb/Android.mk b/adb/Android.mk
index fb7a3f392..265626822 100644
--- a/adb/Android.mk
+++ b/adb/Android.mk
@@ -57,6 +57,10 @@ LOCAL_SRC_FILES := \
# this to take effect), this adds the SSL includes to our path.
LOCAL_STATIC_LIBRARIES := libcrypto_static
+ifeq ($(HOST_OS),windows)
+ LOCAL_C_INCLUDES += development/host/windows/usb/api/
+endif
+
include $(BUILD_HOST_STATIC_LIBRARY)
# adb host tool
@@ -80,7 +84,6 @@ ifeq ($(HOST_OS),windows)
LOCAL_LDLIBS += -lws2_32 -lgdi32
USE_SYSDEPS_WIN32 := 1
endif
- LOCAL_C_INCLUDES += development/host/windows/usb/api/
endif
LOCAL_SRC_FILES := \