summaryrefslogtreecommitdiff
path: root/apex/apex.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-25 00:54:20 +0000
committer Yu Liu <yudiliu@google.com> 2025-02-25 19:05:48 +0000
commit95cef3a35a7dda90447e94b6bd1370043ee2cedb (patch)
tree3bd39af4a269da4cd68ec0328d999986be105748 /apex/apex.go
parent2a815b6d8ea8f29b54f780b1219c28b0c8c977aa (diff)
Convert ndkSingleton, apexDepsInfoSingleton, allTeamsSingleton,
apexPrebuiltInfo to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I77b05e8b54843bfa8b91376a6796c2b5c69be3c1
Diffstat (limited to 'apex/apex.go')
-rw-r--r--apex/apex.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/apex/apex.go b/apex/apex.go
index 6e4685b1f..4dd3d4cc0 100644
--- a/apex/apex.go
+++ b/apex/apex.go
@@ -2258,6 +2258,11 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
a.enforcePartitionTagOnApexSystemServerJar(ctx)
a.verifyNativeImplementationLibs(ctx)
+
+ android.SetProvider(ctx, android.ApexBundleDepsDataProvider, android.ApexBundleDepsData{
+ FlatListPath: a.FlatListPath(),
+ Updatable: a.Updatable(),
+ })
}
// Set prebuiltInfoProvider. This will be used by `apex_prebuiltinfo_singleton` to print out a metadata file