Add 2 more Androidx test libraries

Need third party library net_sf_kxml_kxml2 for androidx_test_runner_java's dependency which is only used for test code.

Sample test from Robolectric:
https://cs.chromium.org/chromium/src/third_party/robolectric/robolectric/integration_tests/ctesque/src/androidTest/java/android/app/ActivityInstrTest.java
In this test, it shows that androidx.test.rule.ActivityTestRule and androidx.test.runner.AndroidJUnit4 are needed.
At least we need androidx.test.rule.ActivityTestRule instead of android.support.test.rule.ActivityTestRule for this feature so that androidx_test_rules_java needed and androidx_test_runner_java is a dependency.
New AndroidJUnit4 still needed but we can use androidx.test.ext.junit.runners.AndroidJunit4 I guess since new AndroidJunit4 can load RobolectricTestRunner as runner https://github.com/android/android-test/blob/master/ext/junit/java/androidx/test/ext/junit/runners/AndroidJUnit4.java#L61

Robolectric 4.0 release note:
http://robolectric.org/blog/2018/10/25/robolectric-4-0/


Bug: 938716
Change-Id: I42629efcd6ab688bec7c81cdf25e17251d507033
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1493204
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Peter Wen <wnwen@chromium.org>
Reviewed-by: Conley Owens <cco3@google.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#642722}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 081719f2d7f28d8786f94118d26427040d0bba21
2 files changed