aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
blob: 887a1abfff78c3377dbf48abb2b296e4901a6b80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
LOCAL_PATH := $(call my-dir)

utf_src := \
    rune.c \
    runestrcat.c \
    runestrchr.c \
    runestrcmp.c \
    runestrcpy.c \
    runestrdup.c \
    runestrlen.c \
    runestrecpy.c \
    runestrncat.c \
    runestrncmp.c \
    runestrncpy.c \
    runestrrchr.c \
    runestrstr.c \
    runetype.c \
    utfecpy.c \
    utflen.c \
    utfnlen.c \
    utfrrune.c \
    utfrune.c \
    utfutf.c

utf_cflags := -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch

# We only build the static library at the moment.
include $(CLEAR_VARS)

LOCAL_MODULE := libutf
LOCAL_SRC_FILES := $(utf_src)
LOCAL_CFLAGS += -O3 $(utf_cflags)
LOCAL_ARM_MODE := arm
LOCAL_SDK_VERSION := 14

include $(BUILD_STATIC_LIBRARY)