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_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes)
114 LOCAL_CFLAGS := $(libext2fs_cflags)
115 LOCAL_MODULE := libext2fs
116 LOCAL_MODULE_TAGS := optional
118 include $(BUILD_SHARED_LIBRARY)
120 include $(CLEAR_VARS)
122 LOCAL_SRC_FILES := $(libext2fs_src_files)
123 LOCAL_STATIC_LIBRARIES := $(libext2fs_static_libraries) $(libext2fs_system_static_libraries)
124 LOCAL_C_INCLUDES := $(libext2fs_c_includes)
125 LOCAL_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes)
126 LOCAL_CFLAGS := $(libext2fs_cflags) $(libext2fs_cflags_linux)
127 LOCAL_MODULE := libext2fs
128 LOCAL_MODULE_TAGS := optional
130 include $(BUILD_STATIC_LIBRARY)
132 include $(CLEAR_VARS)
134 LOCAL_SRC_FILES := $(libext2fs_src_files)
135 LOCAL_SHARED_LIBRARIES := $(addsuffix -host, $(libext2fs_shared_libraries))
136 LOCAL_C_INCLUDES := $(libext2fs_c_includes)
137 LOCAL_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes)
138 LOCAL_CFLAGS := $(libext2fs_cflags)
139 LOCAL_MODULE := libext2fs-host
140 LOCAL_MODULE_TAGS := optional
142 include $(BUILD_HOST_SHARED_LIBRARY)