summaryrefslogtreecommitdiff
path: root/android/singleton.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2020-01-10 18:51:04 +0000
committer Colin Cross <ccross@android.com> 2020-01-10 18:51:04 +0000
commit47e4f9e1e8d46bb72958145edc830c625fbb5f8a (patch)
treebfea06532add95dc1204a80de29a00e18633daf6 /android/singleton.go
parent05c25ccb4adb5329add700b533416c226cdbfa96 (diff)
Revert "Sandbox soong_build by changing to root directory"
This reverts commit 05c25ccb4adb5329add700b533416c226cdbfa96. Reason for revert: broke absolute OUT_DIR Bug: 146437378 Change-Id: I523ed79d40e1c1ef040212ba794a7a084abea75d
Diffstat (limited to 'android/singleton.go')
-rw-r--r--android/singleton.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/android/singleton.go b/android/singleton.go
index 91268ad1c..5519ca019 100644
--- a/android/singleton.go
+++ b/android/singleton.go
@@ -16,6 +16,7 @@ package android
import (
"github.com/google/blueprint"
+ "github.com/google/blueprint/pathtools"
)
// SingletonContext
@@ -73,6 +74,8 @@ type SingletonContext interface {
// builder whenever a file matching the pattern as added or removed, without rerunning if a
// file that does not match the pattern is added to a searched directory.
GlobWithDeps(pattern string, excludes []string) ([]string, error)
+
+ Fs() pathtools.FileSystem
}
type singletonAdaptor struct {