Merge "Check for frameworks/base/Android.bp instead of frameworks/base"

This commit is contained in:
Treehugger Robot
2021-03-18 20:56:54 +00:00
committed by Gerrit Code Review

View File

@@ -1005,7 +1005,7 @@ func (c *config) DexpreoptGlobalConfig(ctx PathContext) ([]byte, error) {
}
func (c *config) FrameworksBaseDirExists(ctx PathContext) bool {
return ExistentPathForSource(ctx, "frameworks", "base").Valid()
return ExistentPathForSource(ctx, "frameworks", "base", "Android.bp").Valid()
}
func (c *config) VndkSnapshotBuildArtifacts() bool {