diff options
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go index d94a86f71..929f3178b 100644 --- a/android/config.go +++ b/android/config.go @@ -209,6 +209,12 @@ func (c Config) ReleaseDefaultModuleBuildFromSource() bool { Bool(c.config.productVariables.ReleaseDefaultModuleBuildFromSource) } +// Enables flagged apis annotated with READ_WRITE aconfig flags to be included in the stubs +// and hiddenapi flags so that they are accessible at runtime +func (c Config) ReleaseExportRuntimeApis() bool { + return c.config.productVariables.GetBuildFlagBool("RELEASE_EXPORT_RUNTIME_APIS") +} + // Enables ABI monitoring of NDK libraries func (c Config) ReleaseNdkAbiMonitored() bool { return c.config.productVariables.GetBuildFlagBool("RELEASE_NDK_ABI_MONITORED") |