blob: 66cb6253b79d0ea8a21be692177711c68ef159ba [file] [log] [blame]
Ronald Braunsteinfce43162024-02-02 12:37:20 -08001package tradefed
2
3import (
4 "android/soong/android"
5
6 "github.com/google/blueprint"
7)
8
9// Output files we need from a base test that we derive from.
10type BaseTestProviderData struct {
11 // data files and apps for android_test
12 InstalledFiles android.Paths
13 // apk for android_test
14 OutputFile android.Path
15 // Either handwritten or generated TF xml.
16 TestConfig android.Path
17 // Other modules we require to be installed to run tests. We expect base to build them.
18 HostRequiredModuleNames []string
Ronald Braunstein1a6e7c02024-03-14 21:14:39 +000019 RequiredModuleNames []string
20 // List of test suites base uses.
21 TestSuites []string
22 // Used for bases that are Host
23 IsHost bool
Ronald Braunsteinfce43162024-02-02 12:37:20 -080024}
25
26var BaseTestProviderKey = blueprint.NewProvider[BaseTestProviderData]()