Move android/soong/fs to android/soong/finder/fs
The fs package is specific to finder, move it inside finder. Bug: 70897635 Test: m checkbuild Change-Id: Ie705f064a832141702a8e87fd59ed75c01018504
This commit is contained in:
parent
7b60cdd6e5
commit
8d6395c09d
|
@ -30,7 +30,7 @@ bootstrap_go_package {
|
||||||
"finder_test.go",
|
"finder_test.go",
|
||||||
],
|
],
|
||||||
deps: [
|
deps: [
|
||||||
"soong-fs",
|
"soong-finder-fs",
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"android/soong/finder"
|
"android/soong/finder"
|
||||||
"android/soong/fs"
|
"android/soong/finder/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -30,7 +30,7 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"android/soong/fs"
|
"android/soong/finder/fs"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This file provides a Finder struct that can quickly search for files satisfying
|
// This file provides a Finder struct that can quickly search for files satisfying
|
||||||
|
|
|
@ -21,12 +21,12 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
"runtime/debug"
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"android/soong/fs"
|
"android/soong/finder/fs"
|
||||||
"runtime/debug"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// some utils for tests to use
|
// some utils for tests to use
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
bootstrap_go_package {
|
bootstrap_go_package {
|
||||||
name: "soong-fs",
|
name: "soong-finder-fs",
|
||||||
pkgPath: "android/soong/fs",
|
pkgPath: "android/soong/finder/fs",
|
||||||
srcs: [
|
srcs: [
|
||||||
"fs.go",
|
"fs.go",
|
||||||
],
|
],
|
|
@ -16,7 +16,7 @@ package build
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"android/soong/finder"
|
"android/soong/finder"
|
||||||
"android/soong/fs"
|
"android/soong/finder/fs"
|
||||||
"android/soong/ui/logger"
|
"android/soong/ui/logger"
|
||||||
"bytes"
|
"bytes"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
|
Loading…
Reference in New Issue