Move GatherPackagingSpecs out of CopyDepsToZip

This gives a PackageModule a chance to filter/customize the contents of
resulting package.

Bug: 225121718
Test: m (no changes)
Change-Id: I45505e8234dff42201dc40d4f038e7b08eea89f0
This commit is contained in:
Jooyung Han
2022-03-25 11:40:12 +09:00
parent 99c5fe6a38
commit a883428293
4 changed files with 14 additions and 12 deletions

View File

@@ -145,7 +145,7 @@ func (f *hostSnapshot) GenerateAndroidBuildActions(ctx android.ModuleContext) {
f.installDir = android.PathForModuleInstall(ctx)
f.CopyDepsToZip(ctx, depsZipFile)
f.CopyDepsToZip(ctx, f.GatherPackagingSpecs(ctx), depsZipFile)
builder := android.NewRuleBuilder(pctx, ctx)
builder.Command().