diff options
-rw-r--r-- | test-base/Android.bp | 2 | ||||
-rw-r--r-- | test-runner/Android.bp | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/test-base/Android.bp b/test-base/Android.bp index 30c9af1de1b0..f6e1e515baac 100644 --- a/test-base/Android.bp +++ b/test-base/Android.bp @@ -77,7 +77,7 @@ java_library_static { ], static_libs: [ - "android.test.runner", + "android.test.runner-minus-junit", "android.test.mock", ], diff --git a/test-runner/Android.bp b/test-runner/Android.bp index cddfef864324..d495e90ac1d5 100644 --- a/test-runner/Android.bp +++ b/test-runner/Android.bp @@ -29,6 +29,23 @@ java_library { ], } +// Build the android.test.runner-minus-junit library +// ================================================= +// This is provided solely for use by the legacy-android-test module. +java_library { + name: "android.test.runner-minus-junit", + + srcs: ["src/android/**/*.java"], + + no_framework_libs: true, + libs: [ + "framework", + "legacy-test", + "android.test.mock", + "junit", + ], +} + // Build the repackaged.android.test.runner library // ================================================ java_library_static { |