Edouard Dupin
d0f57d33a7
Remove internal data in memory ==> deprecated with assets Set an abstraction of the loading of the freetype texture ==> must be done to be supported in Android Correction of the stream error that generate a segmentaion fault in the Android system
33 lines
660 B
Makefile
33 lines
660 B
Makefile
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)
|