Android.mk revision de43094477419f8a190a6f97b47d346827310a02
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5	PhoneNumberUtils.cpp \
6	PhoneticStringUtils.cpp \
7	sqlite3_android.cpp
8
9LOCAL_C_INCLUDES := \
10        external/sqlite/dist \
11        external/icu4c/i18n \
12        external/icu4c/common
13
14
15LOCAL_MODULE:= libsqlite3_android
16
17include $(BUILD_STATIC_LIBRARY)
18
19# Test for PhoneticStringUtils
20include $(CLEAR_VARS)
21
22LOCAL_MODULE:= libsqlite3_phonetic_string_utils_test
23
24LOCAL_CFLAGS += -Wall -Werror
25
26LOCAL_SRC_FILES := \
27	PhoneticStringUtils.cpp \
28	PhoneticStringUtilsTest.cpp
29
30LOCAL_MODULE_TAGS := optional
31
32include $(BUILD_EXECUTABLE)
33
34# Test for PhoneNumberUtils
35#
36# You can also test this in Unix, like this:
37# > g++ -Wall external/sqlite/android/PhoneNumberUtils.cpp \
38#   external/sqlite/android/PhoneNumberUtilsTest.cpp
39# > ./a.out
40#
41# Note: tests related to PHONE_NUMBERS_EQUAL also exists in AndroidTests in
42# java space. Add tests if you modify this.
43
44include $(CLEAR_VARS)
45
46LOCAL_MODULE:= libsqlite3_phone_number_utils_test
47
48LOCAL_CFLAGS += -Wall -Werror
49
50LOCAL_SRC_FILES := \
51	PhoneNumberUtils.cpp \
52	PhoneNumberUtilsTest.cpp
53
54LOCAL_MODULE_TAGS := optional
55
56include $(BUILD_EXECUTABLE)