From ba5a767a28cc6dd5c4abd068a0d76ab11da8a668 Mon Sep 17 00:00:00 2001 From: Jooyung Han Date: Fri, 25 Mar 2022 11:36:39 +0900 Subject: 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 --- build/cvd-host-package.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3