From 34d15aaf2f8d8690d215996bd6e11d2f5c8b4e63 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 7 Apr 2015 09:36:29 -0700 Subject: [PATCH] make_ext4fs: use libcutils and libselinux shared libraries - move libcutils and libselinux as shared now that they are in DISTTOOL. - liblog dependency is part of libcutils, and need not be called out explicitly now. liblog is in DISTTOOL. - libcutils fs_config has the right to add Android logging Bug: 19908228 Change-Id: I85d6d0c1fd5cf22f7328fdfcbe9a8511a552857c --- ext4_utils/Android.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ext4_utils/Android.mk b/ext4_utils/Android.mk index 9f56ccad..27b00bf9 100644 --- a/ext4_utils/Android.mk +++ b/ext4_utils/Android.mk @@ -35,15 +35,15 @@ include $(BUILD_HOST_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_SRC_FILES := make_ext4fs_main.c canned_fs_config.c LOCAL_MODULE := make_ext4fs +LOCAL_SHARED_LIBRARIES += libcutils LOCAL_STATIC_LIBRARIES += \ - libcutils \ libext4_utils_host \ libsparse_host \ libz ifeq ($(HOST_OS),windows) LOCAL_LDLIBS += -lws2_32 else - LOCAL_STATIC_LIBRARIES += libselinux + LOCAL_SHARED_LIBRARIES += libselinux LOCAL_CFLAGS := -DHOST endif include $(BUILD_HOST_EXECUTABLE) @@ -106,9 +106,10 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) LOCAL_SRC_FILES := ext2simg.c LOCAL_MODULE := ext2simg +LOCAL_SHARED_LIBRARIES += \ + libselinux LOCAL_STATIC_LIBRARIES += \ libext4_utils_host \ - libselinux \ libsparse_host \ libz include $(BUILD_HOST_EXECUTABLE) -- 2.11.0