Merge "Build a static device libutils"
This commit is contained in:
commit
b1b307ec3f
@ -98,7 +98,7 @@ LOCAL_LDLIBS += $(host_commonLdlibs)
|
|||||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
|
||||||
# For the device
|
# For the device, static
|
||||||
# =====================================================
|
# =====================================================
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
@ -123,14 +123,29 @@ LOCAL_C_INCLUDES += \
|
|||||||
|
|
||||||
LOCAL_LDLIBS += -lpthread
|
LOCAL_LDLIBS += -lpthread
|
||||||
|
|
||||||
|
LOCAL_STATIC_LIBRARIES := \
|
||||||
|
libcutils \
|
||||||
|
libz
|
||||||
|
|
||||||
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
|
libcorkscrew \
|
||||||
|
liblog \
|
||||||
|
libdl
|
||||||
|
|
||||||
|
LOCAL_MODULE:= libutils
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
# For the device, shared
|
||||||
|
# =====================================================
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE:= libutils
|
||||||
|
LOCAL_WHOLE_STATIC_LIBRARIES := libutils
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
LOCAL_SHARED_LIBRARIES := \
|
||||||
liblog \
|
liblog \
|
||||||
libcutils \
|
libcutils \
|
||||||
libdl \
|
libdl \
|
||||||
libcorkscrew \
|
libcorkscrew \
|
||||||
libz
|
libz
|
||||||
|
|
||||||
LOCAL_MODULE:= libutils
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
# Include subdirectory makefiles
|
# Include subdirectory makefiles
|
||||||
|
Loading…
Reference in New Issue
Block a user