diff options
author | 2019-12-12 10:23:57 -0800 | |
---|---|---|
committer | 2020-01-09 14:19:46 -0800 | |
commit | 05c25ccb4adb5329add700b533416c226cdbfa96 (patch) | |
tree | 79912c740318a967a9091285a5be7aece8fdcf6c /android/singleton.go | |
parent | 62c085d7fefd0297d06c417992d48bc68da42645 (diff) |
Sandbox soong_build by changing to root directory
Store the current working directory and then change to the root
directory so that all file accesses must go through helpers in
the android package that properly track dependencies.
Fixes: 146437378
Test: m checkbuild
Change-Id: I12a0f907753fefd1997ab8b4ea2ac331234093cf
Diffstat (limited to 'android/singleton.go')
-rw-r--r-- | android/singleton.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/android/singleton.go b/android/singleton.go index 5519ca019..91268ad1c 100644 --- a/android/singleton.go +++ b/android/singleton.go @@ -16,7 +16,6 @@ package android import ( "github.com/google/blueprint" - "github.com/google/blueprint/pathtools" ) // SingletonContext @@ -74,8 +73,6 @@ 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 { |