Rename ConfigAndErrorContext to ConfigurableEvaluatorContext
I'm going to be adding some methods to this interface, give it a name based on how it's going to be used, not based on what methods it contains. Bug: 323382414 Test: m nothing --no-skip-soong-tests Change-Id: I9bba04ba756c4dbe00625e2d04af81e78a11cae9
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -613,7 +613,7 @@ type linker interface {
|
||||
coverageOutputFilePath() android.OptionalPath
|
||||
|
||||
// Get the deps that have been explicitly specified in the properties.
|
||||
linkerSpecifiedDeps(ctx android.ConfigAndErrorContext, module *Module, specifiedDeps specifiedDeps) specifiedDeps
|
||||
linkerSpecifiedDeps(ctx android.ConfigurableEvaluatorContext, module *Module, specifiedDeps specifiedDeps) specifiedDeps
|
||||
|
||||
moduleInfoJSON(ctx ModuleContext, moduleInfoJSON *android.ModuleInfoJSON)
|
||||
}
|
||||
@@ -970,7 +970,7 @@ func (c *Module) HiddenFromMake() bool {
|
||||
return c.Properties.HideFromMake
|
||||
}
|
||||
|
||||
func (c *Module) RequiredModuleNames(ctx android.ConfigAndErrorContext) []string {
|
||||
func (c *Module) RequiredModuleNames(ctx android.ConfigurableEvaluatorContext) []string {
|
||||
required := android.CopyOf(c.ModuleBase.RequiredModuleNames(ctx))
|
||||
if c.ImageVariation().Variation == android.CoreVariation {
|
||||
required = append(required, c.Properties.Target.Platform.Required...)
|
||||
|
Reference in New Issue
Block a user