| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
| 5 | PhoneNumberUtils.cpp \ |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 6 | PhoneticStringUtils.cpp \ |
| Daisuke Miyakawa | 948a119 | 2009-09-19 19:19:53 -0700 | [diff] [blame] | 7 | OldPhoneNumberUtils.cpp \ |
| Dmitri Plotnikov | 3a74962 | 2010-03-03 11:29:46 -0800 | [diff] [blame] | 8 | PhonebookIndex.cpp \ |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 9 | sqlite3_android.cpp |
| 10 | |
| 11 | LOCAL_C_INCLUDES := \ |
| 12 | external/sqlite/dist \ |
| 13 | external/icu4c/i18n \ |
| 14 | external/icu4c/common |
| 15 | |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 16 | LOCAL_MODULE:= libsqlite3_android |
| 17 | |
| 18 | include $(BUILD_STATIC_LIBRARY) |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 19 | |
| 20 | # Test for PhoneticStringUtils |
| 21 | include $(CLEAR_VARS) |
| 22 | |
| 23 | LOCAL_MODULE:= libsqlite3_phonetic_string_utils_test |
| 24 | |
| 25 | LOCAL_CFLAGS += -Wall -Werror |
| 26 | |
| 27 | LOCAL_SRC_FILES := \ |
| 28 | PhoneticStringUtils.cpp \ |
| 29 | PhoneticStringUtilsTest.cpp |
| 30 | |
| Sriram Raman | 0ff6f71 | 2009-06-22 17:21:07 -0700 | [diff] [blame] | 31 | LOCAL_MODULE_TAGS := optional |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 32 | |
| Daisuke Miyakawa | e919af5 | 2009-06-26 22:58:32 +0900 | [diff] [blame] | 33 | LOCAL_SHARED_LIBRARIES := \ |
| 34 | libutils |
| 35 | |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 36 | include $(BUILD_EXECUTABLE) |
| Daisuke Miyakawa | f06f5fa | 2009-07-07 11:11:34 +0900 | [diff] [blame] | 37 | |
| 38 | # Test for PhoneNumberUtils |
| 39 | # |
| 40 | # You can also test this in Unix, like this: |
| 41 | # > g++ -Wall external/sqlite/android/PhoneNumberUtils.cpp \ |
| 42 | # external/sqlite/android/PhoneNumberUtilsTest.cpp |
| 43 | # > ./a.out |
| 44 | # |
| Daisuke Miyakawa | b3b8a9d | 2009-09-01 22:07:18 +0900 | [diff] [blame] | 45 | # Note: This "test" is not recognized as a formal test. This is just for enabling developers |
| 46 | # to easily check what they modified works well or not. |
| 47 | # The formal test for phone_number_compare() is in DataBaseGeneralTest.java |
| 48 | # (as of 2009-08-02), in which phone_number_compare() is tested via sqlite's custom |
| 49 | # function "PHONE_NUMBER_COMPARE". |
| 50 | # Please add tests if you modify the implementation of PhoneNumberUtils.cpp and add |
| 51 | # test cases in PhoneNumberUtilsTest.cpp. |
| Daisuke Miyakawa | f06f5fa | 2009-07-07 11:11:34 +0900 | [diff] [blame] | 52 | include $(CLEAR_VARS) |
| 53 | |
| 54 | LOCAL_MODULE:= libsqlite3_phone_number_utils_test |
| 55 | |
| 56 | LOCAL_CFLAGS += -Wall -Werror |
| 57 | |
| 58 | LOCAL_SRC_FILES := \ |
| 59 | PhoneNumberUtils.cpp \ |
| 60 | PhoneNumberUtilsTest.cpp |
| 61 | |
| 62 | LOCAL_MODULE_TAGS := optional |
| 63 | |
| Daisuke Miyakawa | 7bb17d6 | 2009-09-20 14:25:06 -0700 | [diff] [blame] | 64 | include $(BUILD_EXECUTABLE) |