add APEX transitive dependency validation
Bug: 218419109 Test: b build //packages/modules/adb/apex:com.android.adbd Change-Id: I93b0c99d6521e419e52c63271646448f6d708c22
This commit is contained in:
@@ -234,10 +234,13 @@ func Bp2buildProtoProperties(ctx Bp2buildMutatorContext, m *ModuleBase, srcs baz
|
||||
}
|
||||
}
|
||||
|
||||
tags := ApexAvailableTags(ctx.Module())
|
||||
|
||||
ctx.CreateBazelTargetModule(
|
||||
bazel.BazelTargetModuleProperties{Rule_class: "proto_library"},
|
||||
CommonAttributes{Name: info.Name},
|
||||
&attrs)
|
||||
CommonAttributes{Name: info.Name, Tags: tags},
|
||||
&attrs,
|
||||
)
|
||||
|
||||
protoLibraries.Add(&bazel.Label{
|
||||
Label: ":" + info.Name,
|
||||
|
Reference in New Issue
Block a user