1 LOCAL_PATH := $(call my-dir)
3 libext2fs_src_files := \
85 libext2fs_src_files += test_io.c
87 libext2fs_shared_libraries := \
93 libext2fs_system_shared_libraries := libc
95 libext2fs_static_libraries := \
101 libext2fs_system_static_libraries := libc
103 libext2fs_c_includes := external/e2fsprogs/lib
105 libext2fs_cflags := -O2 -g -W -Wall
107 include $(CLEAR_VARS)
109 LOCAL_SRC_FILES := $(libext2fs_src_files)
110 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2fs_system_shared_libraries)
111 LOCAL_SHARED_LIBRARIES := $(libext2fs_shared_libraries)
112 LOCAL_C_INCLUDES := $(libext2fs_c_includes)
113 LOCAL_CFLAGS := $(libext2fs_cflags)
114 LOCAL_MODULE := libext2fs
115 LOCAL_MODULE_TAGS := optional
117 include $(BUILD_SHARED_LIBRARY)
119 include $(CLEAR_VARS)
121 LOCAL_SRC_FILES := $(libext2fs_src_files)
122 LOCAL_STATIC_LIBRARIES := $(libext2fs_static_libraries) $(libext2fs_system_static_libraries)
123 LOCAL_C_INCLUDES := $(libext2fs_c_includes)
124 LOCAL_CFLAGS := $(libext2fs_cflags) $(libext2fs_cflags_linux)
125 LOCAL_PRELINK_MODULE := false
126 LOCAL_MODULE := libext2fs
127 LOCAL_MODULE_TAGS := optional
129 include $(BUILD_STATIC_LIBRARY)
131 include $(CLEAR_VARS)
133 LOCAL_SRC_FILES := $(libext2fs_src_files)
134 LOCAL_SHARED_LIBRARIES := $(addsuffix _host, $(libext2fs_shared_libraries))
135 LOCAL_C_INCLUDES := $(libext2fs_c_includes)
136 LOCAL_CFLAGS := $(libext2fs_cflags)
137 LOCAL_MODULE := libext2fs_host
138 LOCAL_MODULE_TAGS := optional
140 include $(BUILD_HOST_SHARED_LIBRARY)