blob: 89c11aa160af3b1434457a6b3b1010e79d773a09 [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",
Dan Willemsen4c939742016-12-06 15:44:57 -08009 "libutils",
10 "libcutils",
11 ],
12 static_libs: [
Dan Willemsen4c939742016-12-06 15:44:57 -080013 "libdiskusage",
Arthur Eubankse1d9b282017-08-16 17:12:33 -070014 "libinstalld",
15 "liblog",
Dan Willemsen4c939742016-12-06 15:44:57 -080016 ],
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",
Jeff Sharkey871a8f22017-02-21 18:30:28 -070028 "libselinux",
29 "libutils",
30 ],
31 static_libs: [
Jeff Sharkey871a8f22017-02-21 18:30:28 -070032 "libdiskusage",
Arthur Eubankse1d9b282017-08-16 17:12:33 -070033 "libinstalld",
34 "liblog",
35 "liblogwrap",
Jeff Sharkey871a8f22017-02-21 18:30:28 -070036 ],
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",
Jeff Sharkeye12d5962017-04-03 16:41:02 -060048 "libselinux",
49 "libutils",
50 ],
51 static_libs: [
Jeff Sharkeye12d5962017-04-03 16:41:02 -060052 "libdiskusage",
Arthur Eubankse1d9b282017-08-16 17:12:33 -070053 "libinstalld",
54 "liblog",
55 "liblogwrap",
Jeff Sharkeye12d5962017-04-03 16:41:02 -060056 ],
57}