Add PrebuiltNameFromSource
Bug: 177892522 Test: m nothing Change-Id: I45274836d59adbd6b2a2a848705b189398f1e766
This commit is contained in:
@@ -82,6 +82,12 @@ func RemoveOptionalPrebuiltPrefix(name string) string {
|
||||
}
|
||||
|
||||
func (p *Prebuilt) Name(name string) string {
|
||||
return PrebuiltNameFromSource(name)
|
||||
}
|
||||
|
||||
// PrebuiltNameFromSource returns the result of prepending the "prebuilt_" prefix to the supplied
|
||||
// name.
|
||||
func PrebuiltNameFromSource(name string) string {
|
||||
return "prebuilt_" + name
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user