bp2build: block src == name for prebuilt_* modules
src == name causes circular dependency errors, instead mark these as unconverted and don't create modules for them. Test: m bp2build and verify boringssl_self_test.zygote64.rc unconverted Change-Id: I5d5fdd7e14830cd685816064cd0377998d07293c
This commit is contained in:
@@ -146,7 +146,11 @@ type bazelPrebuiltEtcXmlAttributes struct {
|
||||
}
|
||||
|
||||
func (p *prebuiltEtcXml) ConvertWithBp2build(ctx android.TopDownMutatorContext) {
|
||||
baseAttrs := p.PrebuiltEtc.Bp2buildHelper(ctx)
|
||||
baseAttrs, convertible := p.PrebuiltEtc.Bp2buildHelper(ctx)
|
||||
|
||||
if !convertible {
|
||||
return
|
||||
}
|
||||
|
||||
var schema *string
|
||||
if p.properties.Schema != nil {
|
||||
|
Reference in New Issue
Block a user