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:
@@ -226,7 +226,7 @@ func (f *filesystem) buildRootZip(ctx android.ModuleContext) android.OutputPath
|
||||
|
||||
func (f *filesystem) buildImageUsingBuildImage(ctx android.ModuleContext) android.OutputPath {
|
||||
depsZipFile := android.PathForModuleOut(ctx, "deps.zip").OutputPath
|
||||
f.CopyDepsToZip(ctx, depsZipFile)
|
||||
f.CopyDepsToZip(ctx, f.GatherPackagingSpecs(ctx), depsZipFile)
|
||||
|
||||
builder := android.NewRuleBuilder(pctx, ctx)
|
||||
depsBase := proptools.StringDefault(f.properties.Base_dir, ".")
|
||||
@@ -345,7 +345,7 @@ func (f *filesystem) buildCpioImage(ctx android.ModuleContext, compressed bool)
|
||||
}
|
||||
|
||||
depsZipFile := android.PathForModuleOut(ctx, "deps.zip").OutputPath
|
||||
f.CopyDepsToZip(ctx, depsZipFile)
|
||||
f.CopyDepsToZip(ctx, f.GatherPackagingSpecs(ctx), depsZipFile)
|
||||
|
||||
builder := android.NewRuleBuilder(pctx, ctx)
|
||||
depsBase := proptools.StringDefault(f.properties.Base_dir, ".")
|
||||
|
Reference in New Issue
Block a user