Doesn't appear to be needed. If it was needed, the right way to depend on this module is to specify LOCAL_SDK_VERSION. This particular module is getting deleted soon. RunSettingsRoboTests hangs with and without this change, so I can't really test the runtime effects of this change, but I don't think there are any (local_java_libraries only affects compilation). Test: Can't test - RunSettingsRoboTests hangs with and without this change. Bug: 77525052 Change-Id: I116cd8e9676823b6670c162aa3bbdafa516001c5 Merged-In: I9df619c3d68f0af2ee2ae944a15998275129f7c2
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.