Remove __bp2build__ prefix trimming.
This is no longer needed after r.android.com/1792714 Test: CI Change-Id: I808c3124cf1a4f3ebe5d25e41f346a818c3cc57c
This commit is contained in:
@@ -19,7 +19,6 @@ import (
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// BazelTargetModuleProperties contain properties and metadata used for
|
||||
@@ -32,12 +31,6 @@ type BazelTargetModuleProperties struct {
|
||||
Bzl_load_location string `blueprint:"mutated"`
|
||||
}
|
||||
|
||||
const BazelTargetModuleNamePrefix = "__bp2build__"
|
||||
|
||||
func StripNamePrefix(moduleName string) string {
|
||||
return strings.TrimPrefix(moduleName, BazelTargetModuleNamePrefix)
|
||||
}
|
||||
|
||||
var productVariableSubstitutionPattern = regexp.MustCompile("%(d|s)")
|
||||
|
||||
// Label is used to represent a Bazel compatible Label. Also stores the original
|
||||
|
Reference in New Issue
Block a user