1 LOCAL_PATH := $(call my-dir)
3 libext2fs_src_files := \
84 libext2fs_src_files += test_io.c
86 libext2fs_shared_libraries := \
92 libext2fs_system_shared_libraries := libc
94 libext2fs_static_libraries := \
100 libext2fs_system_static_libraries := libc
102 libext2fs_c_includes := external/e2fsprogs/lib
104 libext2fs_cflags := -O2 -g -W -Wall
106 include $(CLEAR_VARS)
108 LOCAL_SRC_FILES := $(libext2fs_src_files)
109 LOCAL_SYSTEM_SHARED_LIBRARIES := $(libext2fs_system_shared_libraries)
110 LOCAL_SHARED_LIBRARIES := $(libext2fs_shared_libraries)
111 LOCAL_C_INCLUDES := $(libext2fs_c_includes)
112 LOCAL_EXPORT_C_INCLUDE_DIRS := $(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_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes)
125 LOCAL_CFLAGS := $(libext2fs_cflags) $(libext2fs_cflags_linux)
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_EXPORT_C_INCLUDE_DIRS := $(libext2fs_c_includes)
137 LOCAL_CFLAGS := $(libext2fs_cflags)
138 LOCAL_MODULE := libext2fs-host
139 LOCAL_MODULE_TAGS := optional
141 include $(BUILD_HOST_SHARED_LIBRARY)