OSDN Git Service

merge in nyc-release history after reset to nyc-dev
[android-x86/system-extras.git] / f2fs_utils / Android.mk
index 0f39116..647c390 100644 (file)
@@ -11,12 +11,15 @@ LOCAL_STATIC_LIBRARIES := \
     libsparse_host \
     libz
 LOCAL_C_INCLUDES := external/f2fs-tools/include external/f2fs-tools/mkfs
+LOCAL_CFLAGS := -Wno-unused-parameter
 include $(BUILD_HOST_STATIC_LIBRARY)
 
 include $(CLEAR_VARS)
 LOCAL_SRC_FILES := f2fs_ioutils.c
 LOCAL_C_INCLUDES := external/f2fs-tools/include external/f2fs-tools/mkfs
+LOCAL_CFLAGS := -Wno-unused-parameter
 LOCAL_STATIC_LIBRARIES := \
+    libselinux \
     libsparse_host \
     libext2_uuid-host \
     libz
@@ -63,6 +66,7 @@ include $(CLEAR_VARS)
 LOCAL_MODULE := libf2fs_utils_static
 LOCAL_SRC_FILES := f2fs_utils.c
 LOCAL_C_INCLUDES := external/f2fs-tools/include external/f2fs-tools/mkfs
+LOCAL_CFLAGS := -Wno-unused-parameter
 LOCAL_STATIC_LIBRARIES := \
     libsparse_static
 include $(BUILD_STATIC_LIBRARY)