LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) # load the common sources file of the platform include $(LOCAL_PATH)/file.mk LOCAL_MODULE := libfreetype LOCAL_STATIC_LIBRARIES := LOCAL_C_INCLUDES := -I$(LOCAL_PATH) $(addprefix -I$(LOCAL_PATH)/, $(sort $(dir $(FILE_LIST)))) LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) LOCAL_SRC_FILES := $(FILE_LIST) LOCAL_CFLAGS += -W -Wall \ -fPIC -DPIC \ -DDARWIN_NO_CARBON \ -DFT2_BUILD_LIBRARY \ -DANDROID_FONT_HACK=1 LOCAL_SRC_FILES:= $(FILE_LIST) ifeq ($(TARGET_BUILD_TYPE),release) LOCAL_CFLAGS += -O2 endif include $(BUILD_STATIC_LIBRARY)