| Ronald Braunstein | fce4316 | 2024-02-02 12:37:20 -0800 | [diff] [blame] | 1 | package tradefed |
| 2 | |
| 3 | import ( |
| 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. |
| 10 | type 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 Braunstein | 1a6e7c0 | 2024-03-14 21:14:39 +0000 | [diff] [blame] | 19 | RequiredModuleNames []string |
| 20 | // List of test suites base uses. |
| 21 | TestSuites []string |
| 22 | // Used for bases that are Host |
| 23 | IsHost bool |
| Ronald Braunstein | fce4316 | 2024-02-02 12:37:20 -0800 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | var BaseTestProviderKey = blueprint.NewProvider[BaseTestProviderData]() |