Rename jsonVariationMap to jsonVariations. am: c6d80893cb am: 72848a40d8 am: 49f47d14d9 am: 2826d6a550

Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2075942

Change-Id: Ifcf9579336076e868aa4191da01c26f6656b1a37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Liz Kammer 2022-05-03 16:37:17 +00:00 committed by Automerger Merge Worker
commit 1be00d5db5

View file

@ -2235,12 +2235,12 @@ func (c *Context) updateDependencies() (errs []error) {
return
}
type jsonVariationMap []Variation
type jsonVariations []Variation
type jsonModuleName struct {
Name string
Variations jsonVariationMap
DependencyVariations jsonVariationMap
Variations jsonVariations
DependencyVariations jsonVariations
}
type jsonDep struct {
@ -2256,8 +2256,8 @@ type JsonModule struct {
Module map[string]interface{}
}
func toJsonVariationMap(vm variationMap) jsonVariationMap {
m := make(jsonVariationMap, 0, len(vm))
func toJsonVariationMap(vm variationMap) jsonVariations {
m := make(jsonVariations, 0, len(vm))
for k, v := range vm {
m = append(m, Variation{k, v})
}