Move tradefed_binary.go into subdir
Having two packages in the same directory makes it harder for go tools to understande the directory structure. For example, in build/soong, "go test ./cc/..." fails with cyclic package imports. Bug: n/a Test: go test ./cc/... (in build/soong) Change-Id: I7a040bf30b1e001680dd43fed9747e9651372274
This commit is contained in:
parent
509a9d35ac
commit
1e611b858f
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ bootstrap_go_package {
|
|||
|
||||
bootstrap_go_package {
|
||||
name: "soong-suite-harness",
|
||||
pkgPath: "android/soong/suite_harness",
|
||||
pkgPath: "android/soong/tradefed/suite_harness",
|
||||
deps: [
|
||||
"blueprint",
|
||||
"blueprint-pathtools",
|
||||
|
@ -25,7 +25,7 @@ bootstrap_go_package {
|
|||
"soong-java",
|
||||
],
|
||||
srcs: [
|
||||
"tradefed_binary.go",
|
||||
"suite_harness/tradefed_binary.go",
|
||||
],
|
||||
pluginFor: ["soong_build"],
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ import (
|
|||
"android/soong/java"
|
||||
)
|
||||
|
||||
var pctx = android.NewPackageContext("android/soong/suite_harness")
|
||||
var pctx = android.NewPackageContext("android/soong/tradefed/suite_harness")
|
||||
|
||||
func init() {
|
||||
android.RegisterModuleType("tradefed_binary_host", tradefedBinaryFactory)
|
Loading…
Reference in a new issue