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:
Colin Cross 2017-12-21 15:46:01 -08:00
parent 7b60cdd6e5
commit 8d6395c09d
9 changed files with 8 additions and 8 deletions

View File

@ -30,7 +30,7 @@ bootstrap_go_package {
"finder_test.go", "finder_test.go",
], ],
deps: [ deps: [
"soong-fs", "soong-finder-fs",
], ],
} }

View File

@ -28,7 +28,7 @@ import (
"time" "time"
"android/soong/finder" "android/soong/finder"
"android/soong/fs" "android/soong/finder/fs"
) )
var ( var (

View File

@ -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

View File

@ -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

View File

@ -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",
], ],

View File

@ -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"