From 95cef3a35a7dda90447e94b6bd1370043ee2cedb Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Tue, 25 Feb 2025 00:54:20 +0000 Subject: Convert ndkSingleton, apexDepsInfoSingleton, allTeamsSingleton, apexPrebuiltInfo to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I77b05e8b54843bfa8b91376a6796c2b5c69be3c1 --- apex/apex.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apex/apex.go') 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 -- cgit v1.2.3-59-g8ed1b