Home | History | Annotate | Download | only in android
      1 cc_library_static {
      2     name: "libsqlite3_android",
      3     vendor_available: true,
      4     host_supported: true,
      5     cflags: [
      6         "-DSQLITE_ENABLE_ICU",
      7         "-Wall",
      8         "-Werror",
      9         "-Wno-unused-function",
     10         "-Wno-unused-variable",
     11     ],
     12     srcs: [
     13         "PhoneNumberUtils.cpp",
     14         "OldPhoneNumberUtils.cpp",
     15         "sqlite3_android.cpp",
     16     ],
     17     include_dirs: ["external/sqlite/dist"],
     18     shared_libs: [
     19         "liblog",
     20         "libicuuc",
     21         "libicui18n",
     22     ],
     23     target: {
     24         vendor: {
     25             cflags: ["-USQLITE_ENABLE_ICU"],
     26             exclude_shared_libs: ["libicuuc", "libicui18n"],
     27         },
     28     },
     29     export_include_dirs: ["."],
     30 }
     31 
     32 //       The formal test for phone_number_compare() is in DataBaseGeneralTest.java
     33 //       (as of 2009-08-02), in which phone_number_compare() is tested via sqlite's custom
     34 //       function "PHONE_NUMBER_COMPARE".
     35 cc_test {
     36     name: "libsqlite3_phone_number_utils_test",
     37     cflags: [
     38         "-Wall",
     39         "-Werror",
     40     ],
     41     srcs: [
     42         "PhoneNumberUtils.cpp",
     43         "PhoneNumberUtilsTest.cpp",
     44     ],
     45 }
     46