Home | History | Annotate | Download | only in libutf
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 utf_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 
     25 utf_cflags := -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch
     26 
     27 # We only build the static library at the moment.
     28 include $(CLEAR_VARS)
     29 
     30 LOCAL_MODULE := libutf
     31 LOCAL_MODULE_TAGS := optional
     32 LOCAL_SRC_FILES := $(utf_src)
     33 LOCAL_CFLAGS += -O3 $(utf_cflags)
     34 LOCAL_ARM_MODE := arm
     35 LOCAL_SDK_VERSION := 14
     36 
     37 include $(BUILD_STATIC_LIBRARY)
     38 
     39