summaryrefslogtreecommitdiff
path: root/python/binary.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-11 18:28:35 -0700
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-11 18:28:35 -0700
commitd7748c944fbba9c019064f99522e6e27b3340758 (patch)
tree241905ef79fe50520e7bf7b49ac0032b9418e438 /python/binary.go
parentdf76cb349374a3b1ea7287d67861904fb3b14cba (diff)
parent9697c5303c4ee46cc43064f715b86e9bef712774 (diff)
Merge "Expand TestSuiteInfoProvider to all test modules" into main am: 9697c5303c
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3537561 Change-Id: Ibab106190625cf7e6d16aab13ea150e1576ac38d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'python/binary.go')
-rw-r--r--python/binary.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/binary.go b/python/binary.go
index feac72a26..af7d30faa 100644
--- a/python/binary.go
+++ b/python/binary.go
@@ -159,6 +159,10 @@ func (p *PythonBinaryModule) buildBinary(ctx android.ModuleContext) {
sharedLibs = append(sharedLibs, ctx.OtherModuleName(dep))
}
p.androidMkSharedLibs = sharedLibs
+
+ android.SetProvider(ctx, android.TestSuiteInfoProvider, android.TestSuiteInfo{
+ TestSuites: p.binaryProperties.Test_suites,
+ })
}
func (p *PythonBinaryModule) AndroidMkEntries() []android.AndroidMkEntries {