diff --git a/android/config.go b/android/config.go.patched
index 3c99659f9..50a79d626 100644
--- a/android/config.go
+++ b/android/config.go.patched
@@ -487,7 +487,12 @@ func NewConfig(moduleListFile string, runGoTests bool, outDir, soongOutDir strin
 	}
 
 	if strings.HasPrefix(absSrcDir, absBuildDir) {
-		return Config{}, fmt.Errorf("Build dir must not contain source directory")
+		// CBBA:PATCH
+		// With acceleration, we may reenter this routine a second
+		// time with '.' or '' as the original src or build
+		// directories, resulting in the absolute directories both
+		// being the pwd.  If this is the case, just bail out.
+		os.Exit(0)
 	}
 
 	// Load any configurable options from the configuration file
