Merge "Rename soong.environment.used with product name"
This commit is contained in:
@@ -1124,6 +1124,9 @@ func (c *configImpl) NamedGlobFile(name string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *configImpl) UsedEnvFile(tag string) string {
|
func (c *configImpl) UsedEnvFile(tag string) string {
|
||||||
|
if v, ok := c.environ.Get("TARGET_PRODUCT"); ok {
|
||||||
|
return shared.JoinPath(c.SoongOutDir(), usedEnvFile+"."+v+"."+tag)
|
||||||
|
}
|
||||||
return shared.JoinPath(c.SoongOutDir(), usedEnvFile+"."+tag)
|
return shared.JoinPath(c.SoongOutDir(), usedEnvFile+"."+tag)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user