summaryrefslogtreecommitdiff
path: root/ext4_utils/Android.mk
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2015-02-25 15:11:13 -0800
committerPaul Lawrence <paullawrence@google.com>2015-03-27 13:24:06 -0700
commit92da49db65ffbe0bff1771ecef87ad49e94a0626 (patch)
treee748f4a0dcb6c572835d211a770be4d7355a8e50 /ext4_utils/Android.mk
parent99918d024a0b361f48162599c968fb100e1dcc3e (diff)
downloadextras-92da49db65ffbe0bff1771ecef87ad49e94a0626.tar.gz
[HACK] Adding e4crypt support
This is a dirty hack requiring a lot of clean up. Needed to allow other parts to make progress. Add e4crypt functions to libext4_utils Add e4crypt command line tool Change-Id: Iac5ae75e7f39cccc87701faf1f590e44f5209c0e
Diffstat (limited to 'ext4_utils/Android.mk')
-rw-r--r--ext4_utils/Android.mk15
1 files changed, 10 insertions, 5 deletions
diff --git a/ext4_utils/Android.mk b/ext4_utils/Android.mk
index c5684f92..964f6668 100644
--- a/ext4_utils/Android.mk
+++ b/ext4_utils/Android.mk
@@ -52,23 +52,29 @@ include $(BUILD_HOST_EXECUTABLE)
# -- All host/targets excluding windows
#
+libext4_utils_src_files += \
+ ext4_crypt.cpp \
+ e4crypt_static.c
+
ifneq ($(HOST_OS),windows)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(libext4_utils_src_files)
LOCAL_MODULE := libext4_utils
+LOCAL_C_INCLUDES += system/core/logwrapper/include
LOCAL_SHARED_LIBRARIES := \
libselinux \
libsparse \
- libz
+ libz \
+ libcutils
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := $(libext4_utils_src_files)
+LOCAL_SRC_FILES := $(libext4_utils_src_files) \
+ ext4_crypt_init_extensions.cpp
LOCAL_MODULE := libext4_utils_static
-LOCAL_STATIC_LIBRARIES += \
- libselinux \
+LOCAL_STATIC_LIBRARIES := \
libsparse_static
include $(BUILD_STATIC_LIBRARY)
@@ -143,4 +149,3 @@ LOCAL_IS_HOST_MODULE := true
include $(BUILD_PREBUILT)
endif
-