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:
@@ -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())
|
||||
}
|
||||
|
Reference in New Issue
Block a user