diff options
author | 2025-01-17 22:52:43 +0000 | |
---|---|---|
committer | 2025-01-21 10:13:32 -0800 | |
commit | e98f706c29d7f54c36371ca1b5a3636876dfbf20 (patch) | |
tree | 815cad23176787cf622c6ad52d951f28ae1f6cde /python/test.go | |
parent | 61445a99174d0ac61d1f5c44e1697f19eb091b35 (diff) |
Convert python modules to use ModuleProxy.
Bug: 377723687
Test: Unit tests and compare the ninja and mk files generated.
Change-Id: Ide5bdf2bc1bf41efaf694a66769df907888e51cb
Diffstat (limited to 'python/test.go')
-rw-r--r-- | python/test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/test.go b/python/test.go index 37947dd31..c780a6f62 100644 --- a/python/test.go +++ b/python/test.go @@ -199,13 +199,13 @@ func (p *PythonTestModule) GenerateAndroidBuildActions(ctx android.ModuleContext } if p.isTestHost() && len(p.testProperties.Data_device_bins_both) > 0 { - ctx.VisitDirectDepsWithTag(dataDeviceBinsTag, func(dep android.Module) { + ctx.VisitDirectDepsProxyWithTag(dataDeviceBinsTag, func(dep android.ModuleProxy) { p.data = append(p.data, android.DataPath{SrcPath: android.OutputFileForModule(ctx, dep, "")}) }) } // Emulate the data property for java_data dependencies. - for _, javaData := range ctx.GetDirectDepsWithTag(javaDataTag) { + for _, javaData := range ctx.GetDirectDepsProxyWithTag(javaDataTag) { for _, javaDataSrcPath := range android.OutputFilesForModule(ctx, javaData, "") { p.data = append(p.data, android.DataPath{SrcPath: javaDataSrcPath}) } |