Rename Soong variable FlattenApex as Flatten_apex.

This is so that it can be used as a Soong/Blueprint property.

Test: m
Bug: 139277987
Change-Id: I8840811fde92a71e97ed100aacfc7fbb003580d0
This commit is contained in:
Roland Levillain
2019-08-12 19:56:16 +01:00
parent dfee9b4364
commit a386321345
2 changed files with 2 additions and 2 deletions

View File

@@ -1077,7 +1077,7 @@ func (c *config) ExcludeDraftNdkApis() bool {
} }
func (c *config) FlattenApex() bool { func (c *config) FlattenApex() bool {
return Bool(c.productVariables.FlattenApex) return Bool(c.productVariables.Flatten_apex)
} }
func (c *config) EnforceSystemCertificate() bool { func (c *config) EnforceSystemCertificate() bool {

View File

@@ -277,7 +277,7 @@ type productVariables struct {
Ndk_abis *bool `json:",omitempty"` Ndk_abis *bool `json:",omitempty"`
Exclude_draft_ndk_apis *bool `json:",omitempty"` Exclude_draft_ndk_apis *bool `json:",omitempty"`
FlattenApex *bool `json:",omitempty"` Flatten_apex *bool `json:",omitempty"`
DexpreoptGlobalConfig *string `json:",omitempty"` DexpreoptGlobalConfig *string `json:",omitempty"`