diff options
author | 2023-11-15 10:30:50 +0000 | |
---|---|---|
committer | 2023-11-15 10:30:50 +0000 | |
commit | d97bf3646914c20e4e7602c7f87792e89ac29ce3 (patch) | |
tree | e9c1806faa62580caa58c6592ac6dd0179ef2460 /python | |
parent | 5876a78543c010c39cb5cac291b607b06a72d44b (diff) | |
parent | 9b59352a82b099daf032fced3e3997aab652f3d2 (diff) |
Merge "Add proto for Test ownership metadata." into main
Diffstat (limited to 'python')
-rw-r--r-- | python/Android.bp | 1 | ||||
-rw-r--r-- | python/test.go | 2 |
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 { |