blob: b6c548c9dcf84ca34c503b2479c7f6c0f16acf39 [file] [log] [blame]
Sasha Smundak8b078402019-01-31 13:23:55 -08001// Build the unit tests.
2cc_test {
3 name: "ResourceManagerService_test",
4 srcs: ["ResourceManagerService_test.cpp"],
Chong Zhang599a0922019-08-14 13:15:32 -07005 test_suites: ["device-tests"],
Sasha Smundak8b078402019-01-31 13:23:55 -08006 shared_libs: [
7 "libbinder",
Chong Zhangfdd512a2019-11-22 11:03:14 -08008 "libbinder_ndk",
Sasha Smundak8b078402019-01-31 13:23:55 -08009 "liblog",
10 "libmedia",
11 "libresourcemanagerservice",
12 "libutils",
13 ],
14 include_dirs: [
15 "frameworks/av/include",
16 "frameworks/av/services/mediaresourcemanager",
17 ],
18 cflags: [
19 "-Werror",
20 "-Wall",
21 ],
22 compile_multilib: "32",
23}
24
25cc_test {
26 name: "ServiceLog_test",
27 srcs: ["ServiceLog_test.cpp"],
Chong Zhang599a0922019-08-14 13:15:32 -070028 test_suites: ["device-tests"],
Sasha Smundak8b078402019-01-31 13:23:55 -080029 shared_libs: [
30 "liblog",
31 "libmedia",
32 "libresourcemanagerservice",
33 "libutils",
34 ],
35 include_dirs: [
36 "frameworks/av/include",
37 "frameworks/av/services/mediaresourcemanager",
38 ],
39 cflags: [
40 "-Werror",
41 "-Wall",
42 ],
43 compile_multilib: "32",
44}