From e19f741052cce097da940d9083d3f29e668de5cb Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 9 May 2024 15:14:04 -0700 Subject: [PATCH] Rename release_variable to release_flag in selects To be more consistent with the terminology used in the rest of the release flag infrastructure. Bug: 323382414 Test: Presubmits Change-Id: I176ce164c00e95ef7653608298b0051da3298aa9 --- android/module.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/module.go b/android/module.go index 40a591007..56cfc4cbd 100644 --- a/android/module.go +++ b/android/module.go @@ -2145,9 +2145,9 @@ func (e configurationEvalutor) EvaluateConfiguration(condition proptools.Configu ctx := e.ctx m := e.m switch condition.FunctionName() { - case "release_variable": + case "release_flag": if condition.NumArgs() != 1 { - ctx.OtherModulePropertyErrorf(m, property, "release_variable requires 1 argument, found %d", condition.NumArgs()) + ctx.OtherModulePropertyErrorf(m, property, "release_flag requires 1 argument, found %d", condition.NumArgs()) return proptools.ConfigurableValueUndefined() } if v, ok := ctx.Config().productVariables.BuildFlags[condition.Arg(0)]; ok {