Skip to content

Commit

Permalink
am b968d5c: Merge "Add shared library version of libziparchive."
Browse files Browse the repository at this point in the history
* commit 'b968d5c8468c9b0707f88f773fae16074e9018cf':
  Add shared library version of libziparchive.
  • Loading branch information
captain5050 authored and Android Git Automerger committed Oct 30, 2014
2 parents ffb60ce + b968d5c commit 8dac355
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions libziparchive/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

0 comments on commit 8dac355

Please sign in to comment.