Merge "Have ConvertWBp2build use Bp2buildMutatorContext" into main

This commit is contained in:
Christopher Parsons
2023-09-20 17:56:24 +00:00
committed by Gerrit Code Review
49 changed files with 132 additions and 129 deletions

View File

@@ -920,7 +920,7 @@ type BazelGenruleAttributes struct {
}
// ConvertWithBp2build converts a Soong module -> Bazel target.
func (m *Module) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
func (m *Module) ConvertWithBp2build(ctx android.Bp2buildMutatorContext) {
// Bazel only has the "tools" attribute.
tools_prop := android.BazelLabelForModuleDeps(ctx, m.properties.Tools)
tool_files_prop := android.BazelLabelForModuleSrc(ctx, m.properties.Tool_files)