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
This commit is contained in:
Yike
2022-08-01 12:47:16 +08:00
parent 40e3c6ebfb
commit 9d8194605e

View File

@@ -109,7 +109,11 @@ android_test {
data: [ data: [
":BstatsTestApp", ":BstatsTestApp",
":JobTestApp", ":JobTestApp",
":SimpleServiceTestApp1",
":SimpleServiceTestApp2",
":SimpleServiceTestApp3",
":StubTestApp", ":StubTestApp",
":SuspendTestApp",
], ],
java_resources: [ java_resources: [