Move the caching/restoring code from soong to blueprint to fully skip build actions.

Bug: 358425833
Test: Manually verified the generated ninja and mk files and CI.
Change-Id: Ieebb822c46f37c0ff55fad08531e9870a76cbd7b
This commit is contained in:
Yu Liu
2024-08-30 23:40:32 +00:00
parent c965be6ca2
commit 26a716d5e5
10 changed files with 196 additions and 66 deletions

View File

@@ -219,11 +219,4 @@ func (module *DeclarationsModule) GenerateAndroidBuildActions(ctx android.Module
android.SetProvider(ctx, android.AconfigReleaseDeclarationsProviderKey, providerData)
}
func (module *DeclarationsModule) BuildActionProviderKeys() []blueprint.AnyProviderKey {
return []blueprint.AnyProviderKey{
android.AconfigDeclarationsProviderKey,
android.AconfigReleaseDeclarationsProviderKey,
}
}
var _ blueprint.Incremental = &DeclarationsModule{}