1 # Copyright 2011 The Android Open Source Project 2 3 LOCAL_PATH:= $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES:= fs_mgr.c fs_mgr_verity.c fs_mgr_fstab.c 7 8 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 9 10 LOCAL_MODULE:= libfs_mgr 11 LOCAL_STATIC_LIBRARIES := liblogwrap libmincrypt libext4_utils_static 12 LOCAL_C_INCLUDES += system/extras/ext4_utils 13 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 14 LOCAL_CFLAGS := -Werror 15 16 include $(BUILD_STATIC_LIBRARY) 17 18 19 20 include $(CLEAR_VARS) 21 22 LOCAL_SRC_FILES:= fs_mgr_main.c 23 24 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 25 26 LOCAL_MODULE:= fs_mgr 27 28 LOCAL_MODULE_TAGS := optional 29 LOCAL_FORCE_STATIC_EXECUTABLE := true 30 LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin 31 LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED) 32 33 LOCAL_STATIC_LIBRARIES := libfs_mgr liblogwrap libcutils liblog libc libmincrypt libext4_utils_static 34 35 LOCAL_CFLAGS := -Werror 36 37 include $(BUILD_EXECUTABLE) 38 39