blob: a9f68da6a5d9f98ef667820c9110c25afb681e47 [file] [log] [blame]
The Android Open Source Project7790ef52009-03-03 19:30:40 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5 PhoneNumberUtils.cpp \
The Android Open Source Project455ed292009-03-13 13:04:22 -07006 PhoneticStringUtils.cpp \
The Android Open Source Project7790ef52009-03-03 19:30:40 -08007 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)
The Android Open Source Project455ed292009-03-13 13:04:22 -070018
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
Sriram Raman0ff6f712009-06-22 17:21:07 -070030LOCAL_MODULE_TAGS := optional
The Android Open Source Project455ed292009-03-13 13:04:22 -070031
32include $(BUILD_EXECUTABLE)
Daisuke Miyakawaf06f5fa2009-07-07 11:11:34 +090033
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)