platform_system_core/libzipfile/Android.mk
Mark Salyzyn ab886745bc libzipfile: turn on -Werror
- resolve some unused references

Change-Id: Ia3748c7e25963c2fd3d58e175177f0f4dd405997
2014-05-14 08:33:55 -07:00

54 lines
798 B
Makefile

LOCAL_PATH:= $(call my-dir)
# build host static library
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
centraldir.c \
zipfile.c
LOCAL_STATIC_LIBRARIES := \
libunz
LOCAL_MODULE:= libzipfile
LOCAL_C_INCLUDES += external/zlib
LOCAL_CFLAGS := -Werror
include $(BUILD_HOST_STATIC_LIBRARY)
# build device static library
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
centraldir.c \
zipfile.c
LOCAL_STATIC_LIBRARIES := \
libunz
LOCAL_MODULE:= libzipfile
LOCAL_C_INCLUDES += external/zlib
LOCAL_CFLAGS := -Werror
include $(BUILD_STATIC_LIBRARY)
# build test_zipfile
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
test_zipfile.c
LOCAL_STATIC_LIBRARIES := libzipfile libunz
LOCAL_MODULE := test_zipfile
LOCAL_C_INCLUDES += external/zlib
LOCAL_CFLAGS := -Werror
include $(BUILD_HOST_EXECUTABLE)