The Birdfont Source Code


All Repositories / birdfont.git / blob – RSS feed

AndroidBirdFont.mk in scripts

This file is a part of the Birdfont project.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git

Revisions

View the latest version of scripts/AndroidBirdFont.mk.
Disable slow stroke on Android
1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE := birdfont 6 7 LOCAL_CFLAGS := -D 'GETTEXT_PACKAGE="birdfont"' 8 LOCAL_CFLAGS += -Wno-missing-field-initializers 9 LOCAL_CFLAGS += -I $(LOCAL_PATH) 10 LOCAL_CFLAGS += -I ../../libbirdxml 11 LOCAL_CFLAGS += -I ../../libbirdgems 12 LOCAL_CFLAGS += -I /opt/android/include 13 LOCAL_CFLAGS += -I /opt/android/include/glib-2.0 14 LOCAL_CFLAGS += -I /opt/android/lib/glib-2.0/include 15 LOCAL_CFLAGS += -I /opt/android/include/gee-1.0 16 LOCAL_CFLAGS += -I /opt/android/include/freetype 17 LOCAL_CFLAGS += -I /opt/android/include/cairo 18 19 20 #FIXME: $(TARGET_ARCH_ABI) 21 22 LOCAL_LDLIBS += /opt/android/lib/libsqlite.a 23 LOCAL_LDLIBS += -L/opt/android/lib 24 LOCAL_LDLIBS += -ljava-bitmap 25 LOCAL_LDLIBS += -lgee 26 LOCAL_LDLIBS += -lft2 27 LOCAL_LDLIBS += -lglib-2.0 28 LOCAL_LDLIBS += -lgio-2.0 29 LOCAL_LDLIBS += -lintl 30 LOCAL_LDLIBS += -liconv 31 LOCAL_LDLIBS += -lgobject-2.0 32 33 LOCAL_LDLIBS += -lm 34 LOCAL_LDLIBS += -lc 35 LOCAL_LDLIBS += -lz 36 LOCAL_LDLIBS += -llog 37 38 LOCAL_LDLIBS += -L $(LOCAL_PATH)/../../ 39 LOCAL_LDLIBS += -lbirdxml 40 LOCAL_LDLIBS += -lbirdgems 41 42 LOCAL_SRC_FILES := $(wildcard *.c) 43 44 include $(BUILD_SHARED_LIBRARY) 45 46 $(call import-module,android/cpufeatures) 47