diff options
author | 2025-02-20 11:03:12 -0800 | |
---|---|---|
committer | 2025-02-20 11:03:12 -0800 | |
commit | ebc3d69b42a6bf6efb7571afb9d0991531db13cf (patch) | |
tree | 448443c08f022069c9de6d889901fc3b07db3185 /android/metrics.go | |
parent | be19d8a6fbc41d6ac154f8b146b17ae852a78227 (diff) | |
parent | 367827f1d32a0e6ab2ce749cfe0c412474e7b030 (diff) |
Merge "Convert stubLibraries, soongMetricsSingleton, sdkSingleton, complianceMetadataSingleton, freezeApiSingleton and testSuiteFiles to use ModuleProxy." into main
Diffstat (limited to 'android/metrics.go')
-rw-r--r-- | android/metrics.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/metrics.go b/android/metrics.go index 6834b1bde..dc5170319 100644 --- a/android/metrics.go +++ b/android/metrics.go @@ -57,8 +57,8 @@ type soongMetricsSingleton struct{} func (soongMetricsSingleton) GenerateBuildActions(ctx SingletonContext) { metrics := getSoongMetrics(ctx.Config()) - ctx.VisitAllModules(func(m Module) { - if ctx.PrimaryModule(m) == m { + ctx.VisitAllModuleProxies(func(m ModuleProxy) { + if ctx.PrimaryModuleProxy(m) == m { metrics.modules++ } metrics.variants++ |