| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 2 | |
| Jesse Wilson | 90f2368 | 2010-09-14 16:44:14 -0700 | [diff] [blame] | 3 | libsqlite3_android_local_src_files := \ |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 4 | PhoneNumberUtils.cpp \ |
| Daisuke Miyakawa | 948a119 | 2009-09-19 19:19:53 -0700 | [diff] [blame] | 5 | OldPhoneNumberUtils.cpp \ |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 6 | sqlite3_android.cpp |
| 7 | |
| Jesse Wilson | 90f2368 | 2010-09-14 16:44:14 -0700 | [diff] [blame] | 8 | libsqlite3_android_c_includes := \ |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 9 | external/sqlite/dist \ |
| Elliott Hughes | 71ceba4 | 2014-07-09 16:49:49 -0700 | [diff] [blame] | 10 | external/icu/icu4c/source/i18n \ |
| 11 | external/icu/icu4c/source/common |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 12 | |
| Jesse Wilson | 90f2368 | 2010-09-14 16:44:14 -0700 | [diff] [blame] | 13 | include $(CLEAR_VARS) |
| 14 | LOCAL_SRC_FILES:= $(libsqlite3_android_local_src_files) |
| 15 | LOCAL_C_INCLUDES := $(libsqlite3_android_c_includes) |
| Colin Cross | bde7635 | 2013-07-23 18:01:06 -0700 | [diff] [blame] | 16 | LOCAL_STATIC_LIBRARIES := liblog |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 17 | LOCAL_MODULE:= libsqlite3_android |
| The Android Open Source Project | 7790ef5 | 2009-03-03 19:30:40 -0800 | [diff] [blame] | 18 | include $(BUILD_STATIC_LIBRARY) |
| The Android Open Source Project | 455ed29 | 2009-03-13 13:04:22 -0700 | [diff] [blame] | 19 | |
| Ian Rogers | f3a7b1a | 2014-05-23 11:21:46 -0700 | [diff] [blame] | 20 | include $(CLEAR_VARS) |
| 21 | LOCAL_SRC_FILES:= $(libsqlite3_android_local_src_files) |
| 22 | LOCAL_C_INCLUDES := $(libsqlite3_android_c_includes) |
| 23 | LOCAL_STATIC_LIBRARIES := liblog |
| 24 | LOCAL_MODULE:= libsqlite3_android |
| 25 | include $(BUILD_HOST_STATIC_LIBRARY) |
| Jesse Wilson | 90f2368 | 2010-09-14 16:44:14 -0700 | [diff] [blame] | 26 | |
| Daisuke Miyakawa | f06f5fa | 2009-07-07 11:11:34 +0900 | [diff] [blame] | 27 | # Test for PhoneNumberUtils |
| 28 | # |
| 29 | # You can also test this in Unix, like this: |
| 30 | # > g++ -Wall external/sqlite/android/PhoneNumberUtils.cpp \ |
| 31 | # external/sqlite/android/PhoneNumberUtilsTest.cpp |
| 32 | # > ./a.out |
| 33 | # |
| Daisuke Miyakawa | b3b8a9d | 2009-09-01 22:07:18 +0900 | [diff] [blame] | 34 | # Note: This "test" is not recognized as a formal test. This is just for enabling developers |
| 35 | # to easily check what they modified works well or not. |
| 36 | # The formal test for phone_number_compare() is in DataBaseGeneralTest.java |
| 37 | # (as of 2009-08-02), in which phone_number_compare() is tested via sqlite's custom |
| 38 | # function "PHONE_NUMBER_COMPARE". |
| 39 | # Please add tests if you modify the implementation of PhoneNumberUtils.cpp and add |
| 40 | # test cases in PhoneNumberUtilsTest.cpp. |
| Daisuke Miyakawa | f06f5fa | 2009-07-07 11:11:34 +0900 | [diff] [blame] | 41 | include $(CLEAR_VARS) |
| 42 | |
| 43 | LOCAL_MODULE:= libsqlite3_phone_number_utils_test |
| 44 | |
| 45 | LOCAL_CFLAGS += -Wall -Werror |
| 46 | |
| 47 | LOCAL_SRC_FILES := \ |
| 48 | PhoneNumberUtils.cpp \ |
| 49 | PhoneNumberUtilsTest.cpp |
| 50 | |
| 51 | LOCAL_MODULE_TAGS := optional |
| 52 | |
| Daisuke Miyakawa | 7bb17d6 | 2009-09-20 14:25:06 -0700 | [diff] [blame] | 53 | include $(BUILD_EXECUTABLE) |