diff options
Diffstat (limited to 'cmds/dumpstate/Android.bp')
-rw-r--r-- | cmds/dumpstate/Android.bp | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/cmds/dumpstate/Android.bp b/cmds/dumpstate/Android.bp index acca11acf7..aff32c38c2 100644 --- a/cmds/dumpstate/Android.bp +++ b/cmds/dumpstate/Android.bp @@ -13,6 +13,15 @@ // See the License for the specific language governing permissions and // limitations under the License. +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_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_native_license"], +} + cc_defaults { name: "dumpstate_cflag_defaults", cflags: [ @@ -90,6 +99,7 @@ cc_defaults { "libhidlbase", "liblog", "libutils", + "libbinderdebug", ], srcs: [ "DumpstateService.cpp", @@ -105,34 +115,28 @@ cc_binary { name: "dumpstate", defaults: ["dumpstate_defaults"], srcs: [ + "DumpPool.cpp", + "TaskQueue.cpp", "dumpstate.cpp", "main.cpp", ], required: [ "atrace", - "df", - "getprop", + "dmabuf_dump", "ip", "iptables", - "ip6tables", - "kill", "librank", "logcat", "lpdump", "lpdumpd", - "lsmod", - "lsof", - "netstat", - "printenv", "procrank", "screencap", "showmap", "ss", "storaged", - "top", - "uptime", + "toolbox", + "toybox", "vdc", - "vril-dump", ], init_rc: ["dumpstate.rc"], } @@ -141,6 +145,8 @@ cc_test { name: "dumpstate_test", defaults: ["dumpstate_defaults"], srcs: [ + "DumpPool.cpp", + "TaskQueue.cpp", "dumpstate.cpp", "tests/dumpstate_test.cpp", ], @@ -157,10 +163,14 @@ cc_test { name: "dumpstate_smoke_test", defaults: ["dumpstate_defaults"], srcs: [ + "DumpPool.cpp", + "TaskQueue.cpp", "dumpstate.cpp", "tests/dumpstate_smoke_test.cpp", ], static_libs: ["libgmock"], + test_config: "dumpstate_smoke_test.xml", + test_suites: ["device-tests"], } |