Replace SortedStringKeys with SortedKeys
Now that we have generics. Bug: 193460475 Test: presubmits Change-Id: I1594fd8feb505175d5c09c03ef397e5ffd5b09cb
This commit is contained in:
@@ -240,7 +240,7 @@ func (p *PackagingBase) GatherPackagingSpecs(ctx ModuleContext) map[string]Packa
|
||||
// entries into the specified directory.
|
||||
func (p *PackagingBase) CopySpecsToDir(ctx ModuleContext, builder *RuleBuilder, specs map[string]PackagingSpec, dir ModuleOutPath) (entries []string) {
|
||||
seenDir := make(map[string]bool)
|
||||
for _, k := range SortedStringKeys(specs) {
|
||||
for _, k := range SortedKeys(specs) {
|
||||
ps := specs[k]
|
||||
destPath := dir.Join(ctx, ps.relPathInPackage).String()
|
||||
destDir := filepath.Dir(destPath)
|
||||
|
Reference in New Issue
Block a user