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 ed90c3181..396b1a66b 100644 --- a/android/config.go +++ b/android/config.go @@ -821,6 +821,12 @@ func (c *config) UnbundledBuildApps() bool { return Bool(c.productVariables.Unbundled_build_apps) } +// Returns true if building image that aren't bundled with the platform. +// UnbundledBuild() is always true when this is true. +func (c *config) UnbundledBuildImage() bool { + return Bool(c.productVariables.Unbundled_build_image) +} + // Returns true if building modules against prebuilt SDKs. func (c *config) AlwaysUsePrebuiltSdks() bool { return Bool(c.productVariables.Always_use_prebuilt_sdks) |