Forward descriptions to primary build invocations.

Test: m nothing bp2build json-module-graph queryview soong_docs
Change-Id: Ic64238dc10a90c923cf5559d1bbbc51fd0922e31
This commit is contained in:
Jingwen Chen 2021-12-06 13:30:18 +00:00
parent 5ff5fe3e66
commit 8e7786a0fd
2 changed files with 6 additions and 4 deletions

View file

@ -691,7 +691,8 @@ func (s *singleton) GenerateBuildActions(ctx blueprint.SingletonContext) {
// soong_ui explicitly requests what it wants to be build. This is
// because the same Ninja file contains instructions to run
// soong_build, run bp2build and to generate the JSON module graph.
Optional: true,
Optional: true,
Description: i.Description,
})
}

View file

@ -105,7 +105,8 @@ const (
)
type PrimaryBuilderInvocation struct {
Inputs []string
Outputs []string
Args []string
Inputs []string
Outputs []string
Args []string
Description string
}