From 9d8194605efabcd5067c31a0cf2d43e3f6e8a1b1 Mon Sep 17 00:00:00 2001 From: Yike Date: Mon, 1 Aug 2022 12:47:16 +0800 Subject: [PATCH] Add missing test dependencies for FrameworksServicesTests 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 dependencies that are used in test config file but not declared in Android.bp. Bug: 222438068 Test: atest-src FrameworksServicesTests \ --experimental-device-driven-test \ --experimental-java-runtime-dependencies \ --bazel-arg=--test_timeout=48000 Test: atest FrameworksServicesTests Change-Id: Iccada6fdc4abac360533389c68c44af7c2c90b27 --- services/tests/servicestests/Android.bp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/tests/servicestests/Android.bp b/services/tests/servicestests/Android.bp index 5d0554a1265dc..a9ee84f1feed7 100644 --- a/services/tests/servicestests/Android.bp +++ b/services/tests/servicestests/Android.bp @@ -109,7 +109,11 @@ android_test { data: [ ":BstatsTestApp", ":JobTestApp", + ":SimpleServiceTestApp1", + ":SimpleServiceTestApp2", + ":SimpleServiceTestApp3", ":StubTestApp", + ":SuspendTestApp", ], java_resources: [