diff options
author | Dan Albert <danalbert@google.com> | 2015-02-24 14:08:03 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2015-02-24 14:08:03 -0800 |
commit | 88cf1c8c4ac986b89d90eed798f51fa007787db0 (patch) | |
tree | 04775ddb2e476fec64e735c9f4436dc0e8ef9a20 /adb/Android.mk | |
parent | db3a5d984eb962ec64988404a7ba0361e4af214c (diff) | |
download | system_core-88cf1c8c4ac986b89d90eed798f51fa007787db0.zip system_core-88cf1c8c4ac986b89d90eed798f51fa007787db0.tar.gz system_core-88cf1c8c4ac986b89d90eed798f51fa007787db0.tar.bz2 |
Fix Windows SDK build.
Change-Id: I9c0f9c92c28867ff17f1ec83aac935d18348c335
Diffstat (limited to 'adb/Android.mk')
-rw-r--r-- | adb/Android.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/adb/Android.mk b/adb/Android.mk index fb7a3f3..2656268 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 := \ |