diff options
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go index 10e43cee9..06d71c06d 100644 --- a/android/config.go +++ b/android/config.go @@ -287,6 +287,10 @@ func (c Config) ReleaseReadFromNewStorage() bool { return c.config.productVariables.GetBuildFlagBool("RELEASE_READ_FROM_NEW_STORAGE") } +func (c Config) ReleaseCreateAconfigStorageFile() bool { + return c.config.productVariables.GetBuildFlagBool("RELEASE_CREATE_ACONFIG_STORAGE_FILE") +} + // A DeviceConfig object represents the configuration for a particular device // being built. For now there will only be one of these, but in the future there // may be multiple devices being built. @@ -2086,6 +2090,10 @@ func (c *config) OdmPropFiles(ctx PathContext) Paths { return PathsForSource(ctx, c.productVariables.OdmPropFiles) } +func (c *config) ExtraAllowedDepsTxt() string { + return String(c.productVariables.ExtraAllowedDepsTxt) +} + func (c *config) EnableUffdGc() string { return String(c.productVariables.EnableUffdGc) } @@ -2105,3 +2113,10 @@ func (c *config) BoardAvbEnable() bool { func (c *config) BoardAvbSystemAddHashtreeFooterArgs() []string { return c.productVariables.BoardAvbSystemAddHashtreeFooterArgs } + +// Returns true if RELEASE_INSTALL_APEX_SYSTEMSERVER_DEXPREOPT_SAME_PARTITION is set to true. +// If true, dexpreopt files of apex system server jars will be installed in the same partition as the parent apex. +// If false, all these files will be installed in /system partition. +func (c Config) InstallApexSystemServerDexpreoptSamePartition() bool { + return c.config.productVariables.GetBuildFlagBool("RELEASE_INSTALL_APEX_SYSTEMSERVER_DEXPREOPT_SAME_PARTITION") +} |