Sasha Smundak | 8b07840 | 2019-01-31 13:23:55 -0800 | [diff] [blame] | 1 | // Build the unit tests. |
| 2 | cc_test { |
| 3 | name: "ResourceManagerService_test", |
| 4 | srcs: ["ResourceManagerService_test.cpp"], |
Chong Zhang | 599a092 | 2019-08-14 13:15:32 -0700 | [diff] [blame] | 5 | test_suites: ["device-tests"], |
Sasha Smundak | 8b07840 | 2019-01-31 13:23:55 -0800 | [diff] [blame] | 6 | shared_libs: [ |
| 7 | "libbinder", |
Chong Zhang | fdd512a | 2019-11-22 11:03:14 -0800 | [diff] [blame^] | 8 | "libbinder_ndk", |
Sasha Smundak | 8b07840 | 2019-01-31 13:23:55 -0800 | [diff] [blame] | 9 | "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 | |
| 25 | cc_test { |
| 26 | name: "ServiceLog_test", |
| 27 | srcs: ["ServiceLog_test.cpp"], |
Chong Zhang | 599a092 | 2019-08-14 13:15:32 -0700 | [diff] [blame] | 28 | test_suites: ["device-tests"], |
Sasha Smundak | 8b07840 | 2019-01-31 13:23:55 -0800 | [diff] [blame] | 29 | 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 | } |