| 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 \ |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 7 | sqlite3_android.cpp |
| 8 | |
| 9 | LOCAL_C_INCLUDES := \ |
| 10 | external/sqlite/dist \ |
| 11 | external/icu4c/i18n \ |
| 12 | external/icu4c/common |
| 13 | |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 14 | LOCAL_MODULE:= libsqlite3_android |
| 15 | |
| 16 | include $(BUILD_STATIC_LIBRARY) |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 17 | |
| 18 | # Test for PhoneticStringUtils |
| 19 | include $(CLEAR_VARS) |
| 20 | |
| 21 | LOCAL_MODULE:= libsqlite3_phonetic_string_utils_test |
| 22 | |
| 23 | LOCAL_CFLAGS += -Wall -Werror |
| 24 | |
| 25 | LOCAL_SRC_FILES := \ |
| 26 | PhoneticStringUtils.cpp \ |
| 27 | PhoneticStringUtilsTest.cpp |
| 28 | |
| Sriram Raman | 0ff6f71 | 2009-06-22 17:21:07 -0700 | [diff] [blame] | 29 | LOCAL_MODULE_TAGS := optional |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 30 | |
| Daisuke Miyakawa | e919af5 | 2009-06-26 22:58:32 +0900 | [diff] [blame^] | 31 | LOCAL_SHARED_LIBRARIES := \ |
| 32 | libutils |
| 33 | |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 34 | include $(BUILD_EXECUTABLE) |
| Daisuke Miyakawa | f06f5fa | 2009-07-07 11:11:34 +0900 | [diff] [blame] | 35 | |
| 36 | # Test for PhoneNumberUtils |
| 37 | # |
| 38 | # You can also test this in Unix, like this: |
| 39 | # > g++ -Wall external/sqlite/android/PhoneNumberUtils.cpp \ |
| 40 | # external/sqlite/android/PhoneNumberUtilsTest.cpp |
| 41 | # > ./a.out |
| 42 | # |
| 43 | # Note: tests related to PHONE_NUMBERS_EQUAL also exists in AndroidTests in |
| 44 | # java space. Add tests if you modify this. |
| 45 | |
| 46 | include $(CLEAR_VARS) |
| 47 | |
| 48 | LOCAL_MODULE:= libsqlite3_phone_number_utils_test |
| 49 | |
| 50 | LOCAL_CFLAGS += -Wall -Werror |
| 51 | |
| 52 | LOCAL_SRC_FILES := \ |
| 53 | PhoneNumberUtils.cpp \ |
| 54 | PhoneNumberUtilsTest.cpp |
| 55 | |
| 56 | LOCAL_MODULE_TAGS := optional |
| 57 | |
| 58 | include $(BUILD_EXECUTABLE) |