Change libusbhost from static to shared library

Change-Id: I0c16cc4536c4ab700c33433c8a6323ade7cfc95d
Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
Mike Lockwood 2010-12-29 08:33:24 -05:00
parent bdd483830d
commit 123538954b
2 changed files with 3 additions and 6 deletions

View File

@ -30,7 +30,7 @@ include $(BUILD_HOST_STATIC_LIBRARY)
endif
# Static library for target
# Shared library for target
# ========================================================
include $(CLEAR_VARS)
@ -40,4 +40,4 @@ LOCAL_SRC_FILES := usbhost.c
LOCAL_CFLAGS := -g -DUSE_LIBLOG
include $(BUILD_STATIC_LIBRARY)
include $(BUILD_SHARED_LIBRARY)

View File

@ -60,10 +60,7 @@ LOCAL_SRC_FILES:= \
toolbox.c \
$(patsubst %,%.c,$(TOOLS))
LOCAL_SHARED_LIBRARIES := libcutils libc
# Needed for lsusb. Should optimize out in linker if lsusb is not included
LOCAL_STATIC_LIBRARIES := libusbhost
LOCAL_SHARED_LIBRARIES := libcutils libc libusbhost
LOCAL_MODULE:= toolbox