diff options
Diffstat (limited to 'apex/apex.go')
-rw-r--r-- | apex/apex.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apex/apex.go b/apex/apex.go index baf4737d8..cf18ec31d 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -1964,9 +1964,6 @@ func (a *apexBundle) QueueBazelCall(ctx android.BaseModuleContext) { // overridden by different override_apex modules (e.g. Google or Go variants), // which is handled by the overrides mutators. func (a *apexBundle) GetBazelLabel(ctx android.BazelConversionPathContext, module blueprint.Module) string { - if _, ok := ctx.Module().(android.OverridableModule); ok { - return android.MaybeBp2buildLabelOfOverridingModule(ctx) - } return a.BazelModuleBase.GetBazelLabel(ctx, a) } @@ -3811,3 +3808,7 @@ func makeSharedLibsAttributes(config string, libsLabelList bazel.LabelList, func invalidCompileMultilib(ctx android.TopDownMutatorContext, value string) { ctx.PropertyErrorf("compile_multilib", "Invalid value: %s", value) } + +func (a *apexBundle) IsTestApex() bool { + return a.testApex +} |