From 80004e3dc03a0d8cd622ff86d4b8c6a2bc7c4a23 Mon Sep 17 00:00:00 2001 From: Yike Date: Mon, 29 Aug 2022 14:16:45 +0800 Subject: [PATCH] Add a missing test dependency for NetworkStagedRollbackTest In Android.bp, all dependencies of a test should be declared explicitly, so that test infrastructure could only provide the needed dependencies instead of all to run a test. This change adds the missing dependency that is used in test config file but not declared in Android.bp. Bug: 222438068 Test: atest NetworkStagedRollbackTest Change-Id: I94525c74165eefd76cccf71ca11b23f45e36d0cf --- tests/RollbackTest/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/RollbackTest/Android.bp b/tests/RollbackTest/Android.bp index 9f6ce4e8425b4..b7c4c5b281683 100644 --- a/tests/RollbackTest/Android.bp +++ b/tests/RollbackTest/Android.bp @@ -61,6 +61,7 @@ java_test_host { static_libs: ["RollbackTestLib", "frameworks-base-hostutils"], test_suites: ["general-tests"], test_config: "NetworkStagedRollbackTest.xml", + data: [":RollbackTest"], } java_test_host {