Merge "Remove asset dir glob files" into main am: f2c204c655 am: 9d269b6956

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3257951

Change-Id: I14d1f997a18e08b46333c5bcf376b5841d34e8b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-09-06 16:42:36 +00:00
committed by Automerger Merge Worker
3 changed files with 10 additions and 22 deletions

View File

@@ -16,7 +16,6 @@ package android
import (
"github.com/google/blueprint"
"github.com/google/blueprint/bootstrap"
)
var (
@@ -120,8 +119,3 @@ func init() {
return ctx.Config().RBEWrapper()
})
}
// GlobToListFileRule creates a rule that writes a list of files matching a pattern to a file.
func GlobToListFileRule(ctx ModuleContext, pattern string, excludes []string, file WritablePath) {
bootstrap.GlobFile(ctx.blueprintModuleContext(), pattern, excludes, file.String())
}