aboutsummaryrefslogtreecommitdiff
path: root/snapshot
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2022-03-25 11:40:12 +0900
committerJooyung Han <jooyung@google.com>2022-03-28 14:29:14 +0900
commita8834282934f9a098d1fd6f991142a9a2b227656 (patch)
treeefdfa5de94231269810370a32ea6b9945fddff93 /snapshot
parent99c5fe6a38f8a70ab7e0c80f06e2ad37dc98829e (diff)
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
Diffstat (limited to 'snapshot')
-rw-r--r--snapshot/host_snapshot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/snapshot/host_snapshot.go b/snapshot/host_snapshot.go
index 09a382e6e..e1d61544e 100644
--- a/snapshot/host_snapshot.go
+++ b/snapshot/host_snapshot.go
@@ -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().