Remove obsolete robolectric test runner integration
The `m Run*RoboTests` test runner is no longer supported, remove the code to generate the Make rules for it. Also reduce the number of combining steps by passing the extra jars that need to be combined into the compile step. This relands Icf05079bf570bed7a10962cbf03459bd53c51f99 with a fix to reorder the instrumented app classes after dependency classes. Test: atest --host SystemUiRoboTests Flag: EXEMPT refactor Change-Id: I174ceb95af5557e1859eeb12a2f5fac2332975a8
This commit is contained in:
@@ -553,7 +553,7 @@ type deps struct {
|
||||
// are provided by systemModules.
|
||||
java9Classpath classpath
|
||||
|
||||
processorPath classpath
|
||||
processorPath classpath ``
|
||||
errorProneProcessorPath classpath
|
||||
processorClasses []string
|
||||
staticJars android.Paths
|
||||
@@ -980,7 +980,7 @@ func (j *Library) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
j.dexpreopter.disableDexpreopt()
|
||||
}
|
||||
}
|
||||
j.compile(ctx, nil, nil, nil)
|
||||
j.compile(ctx, nil, nil, nil, nil)
|
||||
|
||||
// If this module is an impl library created from java_sdk_library,
|
||||
// install the files under the java_sdk_library module outdir instead of this module outdir.
|
||||
|
Reference in New Issue
Block a user