summaryrefslogtreecommitdiff
path: root/cmds/dumpsys/tests/Android.bp
blob: 58fec30c9bf94361b31df0664dbf8746c9ec091c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Build the unit tests for dumpsys
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_native_cmds_dumpsys_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_native_cmds_dumpsys_license"],
}

cc_test {
    name: "dumpsys_test",
    test_suites: ["device-tests"],

    srcs: ["dumpsys_test.cpp"],
    cflags: ["-Wall", "-Werror"],

    shared_libs: [
        "libbase",
        "libbinder",
        "libutils",
        "libbinderdebug",
    ],

    static_libs: [
        "libdumpsys",
        "libgmock",
        "libserviceutils",
    ],
}