blob: c6ebb249d0dbfce3a3b5443f97a16a6036b3e49c [file] [log] [blame]
Dan Willemsen4c939742016-12-06 15:44:57 -08001// Build the unit tests for installd
2cc_test {
3 name: "installd_utils_test",
4 clang: true,
5 srcs: ["installd_utils_test.cpp"],
Chih-Hung Hsieh734e3782017-10-05 13:44:13 -07006 cflags: ["-Wall", "-Werror"],
Dan Willemsen4c939742016-12-06 15:44:57 -08007 shared_libs: [
8 "libbase",
9 "liblog",
10 "libutils",
11 "libcutils",
12 ],
13 static_libs: [
14 "libinstalld",
15 "libdiskusage",
16 ],
17}
Jeff Sharkey871a8f22017-02-21 18:30:28 -070018
19cc_test {
20 name: "installd_cache_test",
21 clang: true,
22 srcs: ["installd_cache_test.cpp"],
Chih-Hung Hsieh734e3782017-10-05 13:44:13 -070023 cflags: ["-Wall", "-Werror"],
Jeff Sharkey871a8f22017-02-21 18:30:28 -070024 shared_libs: [
25 "libbase",
26 "libbinder",
27 "libcutils",
28 "liblog",
29 "liblogwrap",
30 "libselinux",
31 "libutils",
32 ],
33 static_libs: [
34 "libinstalld",
35 "libdiskusage",
36 ],
37}
Jeff Sharkeye12d5962017-04-03 16:41:02 -060038
39cc_test {
40 name: "installd_service_test",
41 clang: true,
42 srcs: ["installd_service_test.cpp"],
Chih-Hung Hsieh734e3782017-10-05 13:44:13 -070043 cflags: ["-Wall", "-Werror"],
Jeff Sharkeye12d5962017-04-03 16:41:02 -060044 shared_libs: [
45 "libbase",
46 "libbinder",
47 "libcutils",
48 "liblog",
49 "liblogwrap",
50 "libselinux",
51 "libutils",
52 ],
53 static_libs: [
54 "libinstalld",
55 "libdiskusage",
56 ],
57}