Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12353895 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Change libusbhost from static to shared library



Change-Id: I0c16cc4536c4ab700c33433c8a6323ade7cfc95d
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent bdd48383
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
+1 −4
Original line number Diff line number Diff line
@@ -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