Add dist target for robolectric-tests.zip
Also remove stray fmt.Println. Test: m robolectric-tests Change-Id: Ia463c2b395fadd6ab33b2ce8364f2119b2a2be1e
This commit is contained in:
parent
f0ba57bf33
commit
cf0e4220eb
2 changed files with 3 additions and 2 deletions
|
@ -47,10 +47,12 @@ func (t *testSuiteFiles) GenerateBuildActions(ctx SingletonContext) {
|
|||
})
|
||||
|
||||
t.robolectric = robolectricTestSuite(ctx, files["robolectric-tests"])
|
||||
|
||||
ctx.Phony("robolectric-tests", t.robolectric)
|
||||
}
|
||||
|
||||
func (t *testSuiteFiles) MakeVars(ctx MakeVarsContext) {
|
||||
ctx.Strict("ROBOLECTRIC_TEST_SUITE", t.robolectric.String())
|
||||
ctx.DistForGoal("robolectric-tests", t.robolectric)
|
||||
}
|
||||
|
||||
func robolectricTestSuite(ctx SingletonContext, files map[string]InstallPaths) WritablePath {
|
||||
|
|
|
@ -366,7 +366,6 @@ func (r *robolectricRuntimes) GenerateAndroidBuildActions(ctx android.ModuleCont
|
|||
files := android.PathsForModuleSrc(ctx, r.props.Jars)
|
||||
|
||||
androidAllDir := android.PathForModuleInstall(ctx, "android-all")
|
||||
fmt.Println(androidAllDir.String())
|
||||
for _, from := range files {
|
||||
installedRuntime := ctx.InstallFile(androidAllDir, from.Base(), from)
|
||||
r.runtimes = append(r.runtimes, installedRuntime)
|
||||
|
|
Loading…
Reference in a new issue