Rename jsonVariationMap to jsonVariations. am: c6d80893cb
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2075942 Change-Id: I0bdab16aac2d2c4b6000d9553f2e58634eba89c6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
72848a40d8
1 changed files with 5 additions and 5 deletions
10
context.go
10
context.go
|
@ -2235,12 +2235,12 @@ func (c *Context) updateDependencies() (errs []error) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
type jsonVariationMap []Variation
|
type jsonVariations []Variation
|
||||||
|
|
||||||
type jsonModuleName struct {
|
type jsonModuleName struct {
|
||||||
Name string
|
Name string
|
||||||
Variations jsonVariationMap
|
Variations jsonVariations
|
||||||
DependencyVariations jsonVariationMap
|
DependencyVariations jsonVariations
|
||||||
}
|
}
|
||||||
|
|
||||||
type jsonDep struct {
|
type jsonDep struct {
|
||||||
|
@ -2256,8 +2256,8 @@ type JsonModule struct {
|
||||||
Module map[string]interface{}
|
Module map[string]interface{}
|
||||||
}
|
}
|
||||||
|
|
||||||
func toJsonVariationMap(vm variationMap) jsonVariationMap {
|
func toJsonVariationMap(vm variationMap) jsonVariations {
|
||||||
m := make(jsonVariationMap, 0, len(vm))
|
m := make(jsonVariations, 0, len(vm))
|
||||||
for k, v := range vm {
|
for k, v := range vm {
|
||||||
m = append(m, Variation{k, v})
|
m = append(m, Variation{k, v})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue