• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Build the unit tests.
2package {
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
11cc_test {
12    name: "ResourceManagerService_test",
13    srcs: ["ResourceManagerService_test.cpp"],
14    test_suites: ["device-tests"],
15    static_libs: ["libresourcemanagerservice"],
16    shared_libs: [
17        "libbinder",
18        "libbinder_ndk",
19        "liblog",
20        "libmedia",
21        "libutils",
22    ],
23    include_dirs: [
24        "frameworks/av/include",
25        "frameworks/av/services/mediaresourcemanager",
26    ],
27    cflags: [
28        "-Werror",
29        "-Wall",
30    ],
31}
32
33cc_test {
34    name: "ServiceLog_test",
35    srcs: ["ServiceLog_test.cpp"],
36    test_suites: ["device-tests"],
37    static_libs: ["libresourcemanagerservice"],
38    shared_libs: [
39        "liblog",
40        "libmedia",
41        "libutils",
42    ],
43    include_dirs: [
44        "frameworks/av/include",
45        "frameworks/av/services/mediaresourcemanager",
46    ],
47    cflags: [
48        "-Werror",
49        "-Wall",
50    ],
51}
52
53cc_test {
54    name: "ResourceObserverService_test",
55    srcs: ["ResourceObserverService_test.cpp"],
56    test_suites: ["device-tests"],
57    static_libs: [
58        "libresourcemanagerservice",
59        "resourceobserver_aidl_interface-V1-ndk_platform",
60    ],
61    shared_libs: [
62        "libbinder",
63        "libbinder_ndk",
64        "liblog",
65        "libmedia",
66        "libutils",
67    ],
68    include_dirs: [
69        "frameworks/av/include",
70        "frameworks/av/services/mediaresourcemanager",
71    ],
72    cflags: [
73        "-Werror",
74        "-Wall",
75    ],
76}
77