summaryrefslogtreecommitdiff
path: root/java/sdk.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-15 00:18:33 +0000
committer Yu Liu <yudiliu@google.com> 2025-02-19 18:29:46 +0000
commit367827f1d32a0e6ab2ce749cfe0c412474e7b030 (patch)
tree15c1247b2c81de9e80223433f28430e271d98bb1 /java/sdk.go
parent14b8145bc8a89881a85497e27f12983361bd3bb9 (diff)
Convert stubLibraries, soongMetricsSingleton, sdkSingleton,
complianceMetadataSingleton, freezeApiSingleton and testSuiteFiles to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I91789633ff0d4e0ab170717caf0a6b4f63c38593
Diffstat (limited to 'java/sdk.go')
-rw-r--r--java/sdk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sdk.go b/java/sdk.go
index 27b2434c5..8510959df 100644
--- a/java/sdk.go
+++ b/java/sdk.go
@@ -358,7 +358,7 @@ func createAPIFingerprint(ctx android.SingletonContext) {
"api_fingerprint",
}
count := 0
- ctx.VisitAllModules(func(module android.Module) {
+ ctx.VisitAllModuleProxies(func(module android.ModuleProxy) {
name := ctx.ModuleName(module)
if android.InList(name, apiTxtFileModules) {
cmd.Inputs(android.OutputFilesForModule(ctx, module, ""))