Merge "add APEX transitive dependency validation"

This commit is contained in:
Sam Delmerico
2022-12-14 15:40:47 +00:00
committed by Gerrit Code Review
7 changed files with 32 additions and 8 deletions

View File

@@ -214,7 +214,12 @@ func objectBp2Build(ctx android.TopDownMutatorContext, m *Module) {
Bzl_load_location: "//build/bazel/rules/cc:cc_object.bzl",
}
ctx.CreateBazelTargetModule(props, android.CommonAttributes{Name: m.Name()}, attrs)
tags := android.ApexAvailableTags(m)
ctx.CreateBazelTargetModule(props, android.CommonAttributes{
Name: m.Name(),
Tags: tags,
}, attrs)
}
func (object *objectLinker) appendLdflags(flags []string) {