diff options
Diffstat (limited to 'android/config.go')
-rw-r--r-- | android/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/config.go b/android/config.go index 956c4afa2..07d0a87c3 100644 --- a/android/config.go +++ b/android/config.go @@ -774,6 +774,10 @@ func (c *config) DexPreoptProfileDir() string { return String(c.productVariables.DexPreoptProfileDir) } +func (c *config) FrameworksBaseDirExists(ctx PathContext) bool { + return ExistentPathForSource(ctx, "frameworks", "base").Valid() +} + func (c *deviceConfig) Arches() []Arch { var arches []Arch for _, target := range c.config.Targets[Android] { |