am b968d5c8: Merge "Add shared library version of libziparchive."
* commit 'b968d5c8468c9b0707f88f773fae16074e9018cf': Add shared library version of libziparchive.
This commit is contained in:
commit
8dac3559dd
|
@ -48,6 +48,19 @@ endif
|
|||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := libziparchive
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
LOCAL_SRC_FILES := ${source_files}
|
||||
LOCAL_C_INCLUDES += ${includes}
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libz libutils
|
||||
LOCAL_SHARED_LIBRARIES := liblog
|
||||
LOCAL_MODULE:= libziparchive-host
|
||||
LOCAL_CFLAGS := -Werror
|
||||
LOCAL_MULTILIB := both
|
||||
include $(BUILD_HOST_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := ziparchive-tests
|
||||
LOCAL_CPP_EXTENSION := .cc
|
||||
|
@ -69,10 +82,10 @@ LOCAL_CFLAGS += \
|
|||
-Werror \
|
||||
-Wno-unnamed-type-template-args
|
||||
LOCAL_SRC_FILES := zip_archive_test.cc
|
||||
LOCAL_STATIC_LIBRARIES := libziparchive-host \
|
||||
LOCAL_SHARED_LIBRARIES := libziparchive-host liblog
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libz \
|
||||
libgtest_host \
|
||||
libgtest_main_host \
|
||||
liblog \
|
||||
libutils
|
||||
include $(BUILD_HOST_NATIVE_TEST)
|
||||
|
|
Loading…
Reference in New Issue