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:
@@ -165,7 +165,8 @@ func protoFlags(ctx ModuleContext, flags Flags, p *android.ProtoProperties) Flag
|
||||
}
|
||||
|
||||
type protoAttributes struct {
|
||||
Deps bazel.LabelListAttribute
|
||||
Deps bazel.LabelListAttribute
|
||||
Min_sdk_version *string
|
||||
}
|
||||
|
||||
type bp2buildProtoDeps struct {
|
||||
@@ -203,6 +204,7 @@ func bp2buildProto(ctx android.Bp2buildMutatorContext, m *Module, protoSrcs baze
|
||||
|
||||
var protoAttrs protoAttributes
|
||||
protoAttrs.Deps.SetValue(protoInfo.Proto_libs)
|
||||
protoAttrs.Min_sdk_version = m.Properties.Min_sdk_version
|
||||
|
||||
name := m.Name() + suffix
|
||||
tags := android.ApexAvailableTags(m)
|
||||
|
Reference in New Issue
Block a user