[bp2build] android_test bp2build.
android_test is just an android_app, but the test bits are handled purely in Starlark (tradefed_test_impl). This enables building HelloWorldTests (android_test) with Bazel. Bug: 297030120 Bug: 297029612 Test: WIP Change-Id: I6d287c94b31698ea247da48e4cd6b5a75bc71e11
This commit is contained in:
@@ -17,7 +17,6 @@ package bp2build
|
||||
import (
|
||||
"android/soong/android"
|
||||
"android/soong/java"
|
||||
"fmt"
|
||||
|
||||
"testing"
|
||||
)
|
||||
@@ -91,7 +90,6 @@ android_library {
|
||||
sdk_version: "current",
|
||||
}
|
||||
`,
|
||||
ExpectedErr: fmt.Errorf("Module has direct dependencies but no sources. Bazel will not allow this."),
|
||||
ExpectedBazelTargets: []string{},
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user