Change libusbhost from static to shared library
Change-Id: I0c16cc4536c4ab700c33433c8a6323ade7cfc95d Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
parent
bdd483830d
commit
123538954b
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue