Apply toNinjaName for variant names am: a08e722192
am: 824c042a1c
am: 413c480f6e
am: fde2f48e77
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/1927227 Change-Id: I326d647e8caebed479640bd0240d2c90a68e876a
This commit is contained in:
commit
ce12e80e7e
1 changed files with 2 additions and 1 deletions
|
@ -2814,8 +2814,9 @@ func (c *Context) generateModuleBuildActions(config interface{},
|
|||
func(module *moduleInfo, pause chan<- pauseSpec) bool {
|
||||
uniqueName := c.nameInterface.UniqueName(newNamespaceContext(module), module.group.name)
|
||||
sanitizedName := toNinjaName(uniqueName)
|
||||
sanitizedVariant := toNinjaName(module.variant.name)
|
||||
|
||||
prefix := moduleNamespacePrefix(sanitizedName + "_" + module.variant.name)
|
||||
prefix := moduleNamespacePrefix(sanitizedName + "_" + sanitizedVariant)
|
||||
|
||||
// The parent scope of the moduleContext's local scope gets overridden to be that of the
|
||||
// calling Go package on a per-call basis. Since the initial parent scope doesn't matter we
|
||||
|
|
Loading…
Reference in a new issue