[cc] Cleanup unused function
Test: TH Change-Id: I7c7fd1ada1303e8006b27923f124c836a4776d8b
This commit is contained in:
parent
c306326fea
commit
bd20ccb83e
1 changed files with 0 additions and 9 deletions
|
@ -294,12 +294,3 @@ func init() {
|
|||
}
|
||||
|
||||
var HostPrebuiltTag = pctx.VariableConfigMethod("HostPrebuiltTag", android.Config.PrebuiltOS)
|
||||
|
||||
func envOverrideFunc(envVar, defaultVal string) func(ctx android.PackageVarContext) string {
|
||||
return func(ctx android.PackageVarContext) string {
|
||||
if override := ctx.Config().Getenv(envVar); override != "" {
|
||||
return override
|
||||
}
|
||||
return defaultVal
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue