diff options
| author | 2024-05-09 23:27:58 +0000 | |
|---|---|---|
| committer | 2024-05-09 23:27:58 +0000 | |
| commit | ef14cae6051de48ccfd0294a19a22304f635594b (patch) | |
| tree | 1c035df8c418f192427365c3645e191cac7046b9 | |
| parent | 7b48992a1a52e8b7679ba49a2f5c1104ce408b1d (diff) | |
| parent | e19f741052cce097da940d9083d3f29e668de5cb (diff) | |
Merge "Rename release_variable to release_flag in selects" into main
| -rw-r--r-- | android/module.go | 4 |
1 files 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 { |