summaryrefslogtreecommitdiff
path: root/python/binary.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-03-11 19:02:24 -0700
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2025-03-11 19:02:24 -0700
commitfb8f32470d4c98b110149320f5c5195b3e2b3ced (patch)
tree4452134cc16e0be412971c66c177b3f09a046605 /python/binary.go
parent2a8b4e5887e6bbeff2a545febb1f861bd7bdfd3b (diff)
parentd7748c944fbba9c019064f99522e6e27b3340758 (diff)
Merge "Expand TestSuiteInfoProvider to all test modules" into main am: 9697c5303c am: d7748c944f
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3537561 Change-Id: I813eeaee54a6157ae87c6cf8c285406892027be8 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 {