Home | History | Annotate | Download | only in tests
      1 // Build the unit tests for installd
      2 cc_test {
      3     name: "installd_utils_test",
      4     clang: true,
      5     srcs: ["installd_utils_test.cpp"],
      6     cflags: ["-Wall", "-Werror"],
      7     shared_libs: [
      8         "libbase",
      9         "libutils",
     10         "libcutils",
     11     ],
     12     static_libs: [
     13         "libdiskusage",
     14         "libinstalld",
     15         "liblog",
     16     ],
     17 }
     18 
     19 cc_test {
     20     name: "installd_cache_test",
     21     clang: true,
     22     srcs: ["installd_cache_test.cpp"],
     23     cflags: ["-Wall", "-Werror"],
     24     shared_libs: [
     25         "libbase",
     26         "libbinder",
     27         "libcrypto",
     28         "libcutils",
     29         "libselinux",
     30         "libutils",
     31     ],
     32     static_libs: [
     33         "libdiskusage",
     34         "libinstalld",
     35         "liblog",
     36         "liblogwrap",
     37     ],
     38 }
     39 
     40 cc_test {
     41     name: "installd_service_test",
     42     clang: true,
     43     srcs: ["installd_service_test.cpp"],
     44     cflags: ["-Wall", "-Werror"],
     45     shared_libs: [
     46         "libbase",
     47         "libbinder",
     48         "libcrypto",
     49         "libcutils",
     50         "libselinux",
     51         "libutils",
     52     ],
     53     static_libs: [
     54         "libdiskusage",
     55         "libinstalld",
     56         "liblog",
     57         "liblogwrap",
     58     ],
     59 }
     60 
     61 cc_test {
     62     name: "installd_dexopt_test",
     63     clang: true,
     64     srcs: ["installd_dexopt_test.cpp"],
     65     cflags: ["-Wall", "-Werror"],
     66     shared_libs: [
     67         "libbase",
     68         "libbinder",
     69         "libcrypto",
     70         "libcutils",
     71         "libselinux",
     72         "libutils",
     73     ],
     74     static_libs: [
     75         "libdiskusage",
     76         "libinstalld",
     77         "liblog",
     78         "liblogwrap",
     79     ],
     80 }
     81 
     82 cc_test {
     83     name: "installd_otapreopt_test",
     84     clang: true,
     85     srcs: ["installd_otapreopt_test.cpp"],
     86     cflags: ["-Wall", "-Werror"],
     87     shared_libs: [
     88         "libbase",
     89         "libcutils",
     90         "libutils",
     91     ],
     92     static_libs: [
     93         "liblog",
     94         "libotapreoptparameters"
     95     ],
     96 }
     97 
     98