summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Usta <usta@google.com> 2022-01-05 23:42:33 -0500
committer Usta Shrestha <usta@google.com> 2022-01-08 03:09:52 +0000
commit851a3271ceec1f623e8a2283ebeea5f71ae833a2 (patch)
treea1fd8a43fbac7756b7de87ff556c399d21b535f9 /android/variable.go
parente508f6a50bc771f695554da326e1e768054570ff (diff)
Use Module.GetProperties() instead of ModuleBase.generalProperties
ModuleBase.generalProperties served the pupose of being a subset of ModuleBase.customizableProperties. But now with the removal of the latter, the former is simply a redirection to Module.GetProperties() Bug: 206961391 Test: m nothing and diff the ninja files Change-Id: I6dd8b7ba74eb5e7ffb61029b0f9129eec2ccfdaf
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go
index 06a563add..bb295d53e 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -1029,7 +1029,7 @@ func (m *ModuleBase) setVariableProperties(ctx BottomUpMutatorContext,
printfIntoProperties(ctx, prefix, productVariablePropertyValue, variableValue)
- err := proptools.AppendMatchingProperties(m.generalProperties,
+ err := proptools.AppendMatchingProperties(m.GetProperties(),
productVariablePropertyValue.Addr().Interface(), nil)
if err != nil {
if propertyErr, ok := err.(*proptools.ExtendPropertyError); ok {