blob: 8dd9d4ca29a60472411c332e2e5668ed90612435 [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
Matt Mower55c75ca2014-08-31 11:30:15 -050013LOCAL_C_INCLUDES += \
14 system/extras/ext4_utils \
15 $(commands_recovery_local_path)/libmincrypt/includes
Dees_Troy51a0e822012-09-05 15:24:24 -040016LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
17
18include $(BUILD_STATIC_LIBRARY)
19
20
Dees Troy4dff2e62013-11-10 04:11:43 +000021include $(CLEAR_VARS)
Dees_Troy51a0e822012-09-05 15:24:24 -040022
Dees Troy4dff2e62013-11-10 04:11:43 +000023LOCAL_SRC_FILES:= fs_mgr_main.c
Dees_Troy51a0e822012-09-05 15:24:24 -040024
Dees Troy4dff2e62013-11-10 04:11:43 +000025LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
Dees_Troy51a0e822012-09-05 15:24:24 -040026
Dees Troy4dff2e62013-11-10 04:11:43 +000027LOCAL_MODULE:= fs_mgrtwrp
Dees_Troy51a0e822012-09-05 15:24:24 -040028
Dees Troy4dff2e62013-11-10 04:11:43 +000029LOCAL_MODULE_TAGS := optional
30LOCAL_FORCE_STATIC_EXECUTABLE := true
31LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin
32LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)
Dees_Troy51a0e822012-09-05 15:24:24 -040033
Dees Troy4dff2e62013-11-10 04:11:43 +000034LOCAL_STATIC_LIBRARIES := libfs_mgrtwrp liblogwraptwrp libcutils liblog libc libmincrypttwrp libext4_utils_static
Dees_Troy51a0e822012-09-05 15:24:24 -040035
Dees Troy4dff2e62013-11-10 04:11:43 +000036include $(BUILD_EXECUTABLE)
Dees_Troy51a0e822012-09-05 15:24:24 -040037
OliverG9606b91e72013-12-06 00:10:56 +000038endif