summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Android.bp1
-rw-r--r--python/test.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/python/Android.bp b/python/Android.bp
index 75786733a..87810c9ed 100644
--- a/python/Android.bp
+++ b/python/Android.bp
@@ -10,6 +10,7 @@ bootstrap_go_package {
"soong-android",
"soong-tradefed",
"soong-cc",
+ "soong-testing",
],
srcs: [
"binary.go",
diff --git a/python/test.go b/python/test.go
index 6e23a447f..cd7c73b5a 100644
--- a/python/test.go
+++ b/python/test.go
@@ -17,6 +17,7 @@ package python
import (
"fmt"
+ "android/soong/testing"
"github.com/google/blueprint/proptools"
"android/soong/android"
@@ -205,6 +206,7 @@ func (p *PythonTestModule) GenerateAndroidBuildActions(ctx android.ModuleContext
p.data = append(p.data, android.DataPath{SrcPath: javaDataSrcPath})
}
}
+ ctx.SetProvider(testing.TestModuleProviderKey, testing.TestModuleProviderData{})
}
func (p *PythonTestModule) AndroidMkEntries() []android.AndroidMkEntries {