[cc] Cleanup unused function

Test: TH
Change-Id: I7c7fd1ada1303e8006b27923f124c836a4776d8b
This commit is contained in:
Pirama Arumuga Nainar 2021-06-04 11:33:33 -07:00
parent c306326fea
commit bd20ccb83e

View file

@ -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
}
}