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 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 15 include $(BUILD_STATIC_LIBRARY) 16 17 18 19 include $(CLEAR_VARS) 20 21 LOCAL_SRC_FILES:= fs_mgr_main.c 22 23 LOCAL_C_INCLUDES := $(LOCAL_PATH)/include 24 25 LOCAL_MODULE:= fs_mgr 26 27 LOCAL_MODULE_TAGS := optional 28 LOCAL_FORCE_STATIC_EXECUTABLE := true 29 LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin 30 LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED) 31 32 LOCAL_STATIC_LIBRARIES := libfs_mgr liblogwrap libcutils liblog libc libmincrypt libext4_utils_static 33 34 include $(BUILD_EXECUTABLE) 35 36