diff options
author | 2024-08-21 17:27:21 +0000 | |
---|---|---|
committer | 2024-08-21 17:27:21 +0000 | |
commit | fed2be9f98eb4e040cc0fe2a633f2bbef2f57eb7 (patch) | |
tree | adff1d920d61a3e58e818327841a078bd3cb2ef8 /android/testing.go | |
parent | 079871cd55bb72337197c2782fa9fb64476b506a (diff) | |
parent | 51c2231eab35f051141e642850891a626bd786cb (diff) |
Merge "Access output files thru providers in Soong tests." into main
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/testing.go b/android/testing.go index 79d0c9b41..816707d63 100644 --- a/android/testing.go +++ b/android/testing.go @@ -1038,8 +1038,8 @@ func (m TestingModule) VariablesForTestsRelativeToTop() map[string]string { // Exits the test immediately if there is an error and // otherwise returns the result of calling Paths.RelativeToTop // on the returned Paths. -func (m TestingModule) OutputFiles(t *testing.T, tag string) Paths { - outputFiles := m.Module().base().outputFiles +func (m TestingModule) OutputFiles(ctx *TestContext, t *testing.T, tag string) Paths { + outputFiles := OtherModuleProviderOrDefault(ctx.OtherModuleProviderAdaptor(), m.Module(), OutputFilesProvider) if tag == "" && outputFiles.DefaultOutputFiles != nil { return outputFiles.DefaultOutputFiles.RelativeToTop() } else if taggedOutputFiles, hasTag := outputFiles.TaggedOutputFiles[tag]; hasTag { |