From: Jeff Sharkey Date: Fri, 21 Oct 2016 18:44:14 +0000 (-0600) Subject: Bring back libext2_profile build rules. X-Git-Tag: 1.43.4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab4931cd0db6e87fed4bfe119a55991e547e4da;p=thirdparty%2Fe2fsprogs.git Bring back libext2_profile build rules. Google-Bug-Id: 27599744 From AOSP commit: 80fcd5bb6dcc130337def60423a5d9e22a5814e7 Signed-off-by: Theodore Ts'o --- diff --git a/lib/support/Android.mk b/lib/support/Android.mk index 3d2056d6d..fefd05890 100644 --- a/lib/support/Android.mk +++ b/lib/support/Android.mk @@ -55,3 +55,41 @@ LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := $(addsuffix -host, $(libext2_quota_shared_libraries)) include $(BUILD_HOST_SHARED_LIBRARY) + +include $(CLEAR_VARS) + +libext2_profile_src_files := \ + prof_err.c \ + profile.c + +libext2_profile_shared_libraries := \ + libext2_com_err + +libext2_profile_system_shared_libraries := libc + +libext2_profile_c_includes := external/e2fsprogs/lib + +libext2_profile_cflags := -O2 -g -W -Wall + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(libext2_profile_src_files) +LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2_profile_system_shared_libraries) +LOCAL_SHARED_LIBRARIES := $(libext2_profile_shared_libraries) +LOCAL_C_INCLUDES := $(libext2_profile_c_includes) +LOCAL_CFLAGS := $(libext2_profile_cflags) +LOCAL_MODULE := libext2_profile +LOCAL_MODULE_TAGS := optional + +include $(BUILD_SHARED_LIBRARY) + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(libext2_profile_src_files) +LOCAL_SHARED_LIBRARIES := $(addsuffix -host, $(libext2_profile_shared_libraries)) +LOCAL_C_INCLUDES := $(libext2_profile_c_includes) +LOCAL_CFLAGS := $(libext2_profile_cflags) +LOCAL_MODULE := libext2_profile-host +LOCAL_MODULE_TAGS := optional + +include $(BUILD_HOST_SHARED_LIBRARY)