blob: 4196710af6196dc4e0ff5e263e7a0574807f1026 [file] [log] [blame]
Dees_Troy51a0e822012-09-05 15:24:24 -04001# Copyright 2011 The Android Open Source Project
OliverG9606b91e72013-12-06 00:10:56 +00002ifeq ($(TW_INCLUDE_JB_CRYPTO), true)
Dees_Troy51a0e822012-09-05 15:24:24 -04003LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
Dees Troy4dff2e62013-11-10 04:11:43 +00006LOCAL_SRC_FILES:= fs_mgr.c fs_mgr_verity.c
Dees_Troy51a0e822012-09-05 15:24:24 -04007
8LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
9
10LOCAL_MODULE:= libfs_mgrtwrp
Dees Troy4dff2e62013-11-10 04:11:43 +000011LOCAL_SHARED_LIBRARIES := libext4_utils
12LOCAL_STATIC_LIBRARIES := liblogwraptwrp libmincrypttwrp
13LOCAL_C_INCLUDES += system/extras/ext4_utils bootable/recovery/libmincrypt/includes
Dees_Troy51a0e822012-09-05 15:24:24 -040014LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
15
16include $(BUILD_STATIC_LIBRARY)
17
18
Dees Troy4dff2e62013-11-10 04:11:43 +000019include $(CLEAR_VARS)
Dees_Troy51a0e822012-09-05 15:24:24 -040020
Dees Troy4dff2e62013-11-10 04:11:43 +000021LOCAL_SRC_FILES:= fs_mgr_main.c
Dees_Troy51a0e822012-09-05 15:24:24 -040022
Dees Troy4dff2e62013-11-10 04:11:43 +000023LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
Dees_Troy51a0e822012-09-05 15:24:24 -040024
Dees Troy4dff2e62013-11-10 04:11:43 +000025LOCAL_MODULE:= fs_mgrtwrp
Dees_Troy51a0e822012-09-05 15:24:24 -040026
Dees Troy4dff2e62013-11-10 04:11:43 +000027LOCAL_MODULE_TAGS := optional
28LOCAL_FORCE_STATIC_EXECUTABLE := true
29LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin
30LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)
Dees_Troy51a0e822012-09-05 15:24:24 -040031
Dees Troy4dff2e62013-11-10 04:11:43 +000032LOCAL_STATIC_LIBRARIES := libfs_mgrtwrp liblogwraptwrp libcutils liblog libc libmincrypttwrp libext4_utils_static
Dees_Troy51a0e822012-09-05 15:24:24 -040033
Dees Troy4dff2e62013-11-10 04:11:43 +000034include $(BUILD_EXECUTABLE)
Dees_Troy51a0e822012-09-05 15:24:24 -040035
OliverG9606b91e72013-12-06 00:10:56 +000036endif