• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4# LOCAL_ARM_MODE := arm
5
6LOCAL_SRC_FILES:= \
7	cmemory.c          cstring.c          \
8	cwchar.c           locmap.c           \
9	punycode.c         putil.c            \
10	uarrsort.c         ubidi.c            \
11	ubidiln.c          ubidi_props.c      \
12	ubidiwrt.c         ucase.c            \
13	ucasemap.c         ucat.c             \
14	uchar.c            ucln_cmn.c         \
15	ucmndata.c                            \
16	ucnv2022.c         ucnv_bld.c         \
17	ucnvbocu.c         ucnv.c             \
18	ucnv_cb.c          ucnv_cnv.c         \
19	ucnvdisp.c         ucnv_err.c         \
20	ucnv_ext.c         ucnvhz.c           \
21	ucnv_io.c          ucnvisci.c         \
22	ucnvlat1.c         ucnv_lmb.c         \
23	ucnvmbcs.c         ucnvscsu.c         \
24	ucnv_set.c         ucnv_u16.c         \
25	ucnv_u32.c         ucnv_u7.c          \
26	ucnv_u8.c          ucol_swp.c         \
27	udata.c            udatamem.c         \
28	udataswp.c         uenum.c            \
29	uhash.c            uinit.c            \
30	uinvchar.c         uloc.c             \
31	umapfile.c         umath.c            \
32	umutex.c           unames.c           \
33	unorm_it.c                            \
34	uprops.c           uresbund.c         \
35	ures_cnv.c         uresdata.c         \
36	usc_impl.c         uscript.c          \
37	ushape.c           ustrcase.c         \
38	ustr_cnv.c         ustrfmt.c          \
39	ustring.c          ustrtrns.c         \
40	ustr_wcs.c         utf_impl.c         \
41	utrace.c           utrie.c            \
42	utypes.c           wintz.c
43
44ifneq ($(TARGET_SIMULATOR),true)
45LOCAL_SRC_FILES += \
46	noser.c
47endif
48
49LOCAL_SRC_FILES += \
50        bmpset.cpp      unisetspan.cpp   \
51	brkeng.cpp      brkiter.cpp      \
52	caniter.cpp     chariter.cpp     \
53	dictbe.cpp      locbased.cpp     \
54	locid.cpp       locutil.cpp      \
55	normlzr.cpp     parsepos.cpp     \
56	propname.cpp    rbbi.cpp         \
57	rbbidata.cpp    rbbinode.cpp     \
58	rbbirb.cpp      rbbiscan.cpp     \
59	rbbisetb.cpp    rbbistbl.cpp     \
60	rbbitblb.cpp    resbund_cnv.cpp  \
61	resbund.cpp     ruleiter.cpp     \
62	schriter.cpp    serv.cpp         \
63	servlk.cpp      servlkf.cpp      \
64	servls.cpp      servnotf.cpp     \
65	servrbf.cpp     servslkf.cpp     \
66	triedict.cpp    ubrk.cpp         \
67	uchriter.cpp    uhash_us.cpp     \
68	uidna.cpp       uiter.cpp        \
69	unifilt.cpp     unifunct.cpp     \
70	uniset.cpp      uniset_props.cpp \
71	unistr_case.cpp unistr_cnv.cpp   \
72	unistr.cpp      unistr_props.cpp \
73	unormcmp.cpp    unorm.cpp        \
74	uobject.cpp     uset.cpp         \
75	usetiter.cpp    uset_props.cpp   \
76	usprep.cpp      ustack.cpp       \
77	ustrenum.cpp    utext.cpp        \
78	util.cpp        util_props.cpp   \
79	uvector.cpp     uvectr32.cpp
80
81LOCAL_C_INCLUDES +=       \
82	$(LOCAL_PATH)         \
83	$(LOCAL_PATH)/../i18n
84
85LOCAL_CFLAGS  += -D_REENTRANT -DPIC -DU_COMMON_IMPLEMENTATION -fPIC
86LOCAL_CFLAGS  +=  -O3
87
88ifneq ($(TARGET_SIMULATOR),true)
89# TODO: Rename ARM_FLAG to something else. Even better, based on
90# the usage of this in the files, it should probably be replaced with
91# HAVE_ANDROID_OS
92LOCAL_CFLAGS += -DARM_FLAG
93endif
94
95LOCAL_SHARED_LIBRARIES += libicudata
96LOCAL_LDLIBS           += -lpthread -lm
97
98LOCAL_MODULE := libicuuc
99
100include $(BUILD_SHARED_LIBRARY)
101