Merge changes from topic "stub-impl-per-api-domain"
* changes: Special case platform variant of bootstrap libs Select stub/impl per apex variant For test apexes, base_apex_name is the api domain Broaden the granularity of config_setting from apex_name to api_domain Print default val if all vals in axis match default val
This commit is contained in:
@@ -3700,6 +3700,8 @@ func convertWithBp2build(a *apexBundle, ctx android.TopDownMutatorContext) (baze
|
||||
commonAttrs := android.CommonAttributes{}
|
||||
if a.testApex {
|
||||
commonAttrs.Testonly = proptools.BoolPtr(true)
|
||||
// Set the api_domain of the test apex
|
||||
attrs.Base_apex_name = proptools.StringPtr(cc.GetApiDomain(a.Name()))
|
||||
}
|
||||
|
||||
return attrs, props, commonAttrs
|
||||
|
Reference in New Issue
Block a user