diff options
Diffstat (limited to 'apex/apex.go')
| -rw-r--r-- | apex/apex.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apex/apex.go b/apex/apex.go index b1b4e4716..8e1783ed5 100644 --- a/apex/apex.go +++ b/apex/apex.go @@ -2676,6 +2676,10 @@ func (o *OverrideApex) ConvertWithBp2build(ctx android.TopDownMutatorContext) { } attrs, props := convertWithBp2build(a, ctx) + // We just want the name, not module reference. + baseApexName := strings.TrimPrefix(baseApexModuleName, ":") + attrs.Base_apex_name = &baseApexName + for _, p := range o.GetProperties() { overridableProperties, ok := p.(*overridableProperties) if !ok { @@ -3397,6 +3401,7 @@ type bazelApexBundleAttributes struct { Package_name *string Logging_parent *string Tests bazel.LabelListAttribute + Base_apex_name *string } type convertedNativeSharedLibs struct { |