Merge "Add variant name to module info" am: a85a30c611
am: 0dbf7c740f
am: b1b9cbc149
am: 10b9f13f96
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2526240 Change-Id: I81227f492f78e50c484d223cf6980f65faf60548 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
3812773ddc
1 changed files with 4 additions and 1 deletions
|
@ -2679,6 +2679,7 @@ type jsonVariations []Variation
|
|||
|
||||
type jsonModuleName struct {
|
||||
Name string
|
||||
Variant string
|
||||
Variations jsonVariations
|
||||
DependencyVariations jsonVariations
|
||||
}
|
||||
|
@ -2714,6 +2715,7 @@ func toJsonVariationMap(vm variationMap) jsonVariations {
|
|||
func jsonModuleNameFromModuleInfo(m *moduleInfo) *jsonModuleName {
|
||||
return &jsonModuleName{
|
||||
Name: m.Name(),
|
||||
Variant: m.variant.name,
|
||||
Variations: toJsonVariationMap(m.variant.variations),
|
||||
DependencyVariations: toJsonVariationMap(m.variant.dependencyVariations),
|
||||
}
|
||||
|
@ -2761,7 +2763,8 @@ func jsonModuleFromModuleInfo(m *moduleInfo) *JsonModule {
|
|||
func jsonModuleWithActionsFromModuleInfo(m *moduleInfo) *JsonModule {
|
||||
result := &JsonModule{
|
||||
jsonModuleName: jsonModuleName{
|
||||
Name: m.Name(),
|
||||
Name: m.Name(),
|
||||
Variant: m.variant.name,
|
||||
},
|
||||
Deps: make([]jsonDep, 0),
|
||||
Type: m.typeName,
|
||||
|
|
Loading…
Reference in a new issue