1LOCAL_PATH := $(call my-dir) 2 3utf_src := \ 4 rune.c \ 5 runestrcat.c \ 6 runestrchr.c \ 7 runestrcmp.c \ 8 runestrcpy.c \ 9 runestrdup.c \ 10 runestrlen.c \ 11 runestrecpy.c \ 12 runestrncat.c \ 13 runestrncmp.c \ 14 runestrncpy.c \ 15 runestrrchr.c \ 16 runestrstr.c \ 17 runetype.c \ 18 utfecpy.c \ 19 utflen.c \ 20 utfnlen.c \ 21 utfrrune.c \ 22 utfrune.c \ 23 utfutf.c 24 25utf_cflags := -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch 26 27# We only build the static library at the moment. 28include $(CLEAR_VARS) 29 30LOCAL_MODULE := libutf 31LOCAL_MODULE_TAGS := optional 32LOCAL_SRC_FILES := $(utf_src) 33LOCAL_CFLAGS += -O3 $(utf_cflags) 34LOCAL_ARM_MODE := arm 35LOCAL_SDK_VERSION := 14 36 37include $(BUILD_STATIC_LIBRARY) 38 39