aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorJooyung Han <jooyung@google.com>2022-03-25 11:36:39 +0900
committerJooyung Han <jooyung@google.com>2022-03-29 19:58:58 +0900
commitba5a767a28cc6dd5c4abd068a0d76ab11da8a668 (patch)
tree7d88a64a26af521960c1960c70655727232fb71c /build
parent96d04b92097313e30482392b75beb4b7578db3a1 (diff)
downloadcuttlefish-ba5a767a28cc6dd5c4abd068a0d76ab11da8a668.tar.gz
Move GatherPackagingSpecs out of CopyDepsToZip
This gives a PackageModule a chance to filter/customize the contents of resulting package. Bug: 225121718 Test: m nothing Change-Id: I7883f7e13ed5dcee0e129bbcb150578c51fa9997
Diffstat (limited to 'build')
-rw-r--r--build/cvd-host-package.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cvd-host-package.go b/build/cvd-host-package.go
index d15708396..5ff885efb 100644
--- a/build/cvd-host-package.go
+++ b/build/cvd-host-package.go
@@ -87,7 +87,7 @@ var pctx = android.NewPackageContext("android/soong/cuttlefish")
func (c *cvdHostPackage) GenerateAndroidBuildActions(ctx android.ModuleContext) {
zipFile := android.PathForModuleOut(ctx, "package.zip")
- c.CopyDepsToZip(ctx, zipFile)
+ c.CopyDepsToZip(ctx, c.GatherPackagingSpecs(ctx), zipFile)
// Dir where to extract the zip file and construct the final tar.gz from
packageDir := android.PathForModuleOut(ctx, ".temp")