| // 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", |
| ], |
| } |