1// Build the unit tests for dumpsys
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_native_cmds_dumpsys_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["frameworks_native_cmds_dumpsys_license"],
9}
10
11cc_test {
12    name: "dumpsys_test",
13    test_suites: ["device-tests"],
14
15    srcs: ["dumpsys_test.cpp"],
16    cflags: ["-Wall", "-Werror"],
17
18    shared_libs: [
19        "libbase",
20        "libbinder",
21        "libutils",
22        "libbinderdebug",
23    ],
24
25    static_libs: [
26        "libdumpsys",
27        "libgmock",
28        "libserviceutils",
29    ],
30}
31