summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ci_tests/ci_test_package_zip.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci_tests/ci_test_package_zip.go b/ci_tests/ci_test_package_zip.go
index f8c4578b6..87ae6fda2 100644
--- a/ci_tests/ci_test_package_zip.go
+++ b/ci_tests/ci_test_package_zip.go
@@ -167,6 +167,9 @@ func createOutput(ctx android.ModuleContext, pctx android.PackageContext) androi
builder.Command().Text("mkdir").Flag("-p").Output(stagingDir)
builder.Temporary(stagingDir)
ctx.WalkDeps(func(child, parent android.Module) bool {
+ if !child.Enabled(ctx) {
+ return false
+ }
if android.EqualModules(parent, ctx.Module()) && ctx.OtherModuleDependencyTag(child) == testPackageZipDepTag {
// handle direct deps
extendBuilderCommand(ctx, child, builder, stagingDir, productOut, arch, secondArch)