blob: 0c5b8a2f62425d041d69be6f20103475b33b8f0e [file] [log] [blame]
Sasha Smundak8b078402019-01-31 13:23:55 -08001// Build the unit tests.
Bob Badour948e6aa2021-02-12 21:02:31 -08002package {
3 // See: http://go/android-license-faq
4 // A large-scale-change added 'default_applicable_licenses' to import
5 // all of the 'license_kinds' from "frameworks_av_license"
6 // to get the below license kinds:
7 // SPDX-license-identifier-Apache-2.0
8 default_applicable_licenses: ["frameworks_av_license"],
9}
10
Sasha Smundak8b078402019-01-31 13:23:55 -080011cc_test {
12 name: "ResourceManagerService_test",
13 srcs: ["ResourceManagerService_test.cpp"],
Chong Zhang599a0922019-08-14 13:15:32 -070014 test_suites: ["device-tests"],
Alistair Delva1ab0b882020-06-09 11:47:23 -070015 static_libs: ["libresourcemanagerservice"],
Sasha Smundak8b078402019-01-31 13:23:55 -080016 shared_libs: [
17 "libbinder",
Chong Zhangfdd512a2019-11-22 11:03:14 -080018 "libbinder_ndk",
Sasha Smundak8b078402019-01-31 13:23:55 -080019 "liblog",
20 "libmedia",
Sasha Smundak8b078402019-01-31 13:23:55 -080021 "libutils",
22 ],
23 include_dirs: [
24 "frameworks/av/include",
25 "frameworks/av/services/mediaresourcemanager",
26 ],
27 cflags: [
28 "-Werror",
29 "-Wall",
30 ],
Sasha Smundak8b078402019-01-31 13:23:55 -080031}
32
33cc_test {
34 name: "ServiceLog_test",
35 srcs: ["ServiceLog_test.cpp"],
Chong Zhang599a0922019-08-14 13:15:32 -070036 test_suites: ["device-tests"],
Alistair Delva1ab0b882020-06-09 11:47:23 -070037 static_libs: ["libresourcemanagerservice"],
Sasha Smundak8b078402019-01-31 13:23:55 -080038 shared_libs: [
39 "liblog",
40 "libmedia",
Sasha Smundak8b078402019-01-31 13:23:55 -080041 "libutils",
42 ],
43 include_dirs: [
44 "frameworks/av/include",
45 "frameworks/av/services/mediaresourcemanager",
46 ],
47 cflags: [
48 "-Werror",
49 "-Wall",
50 ],
Sasha Smundak8b078402019-01-31 13:23:55 -080051}