OSDN Git Service

Remove junit classes from legacy-android-test
authorPaul Duffin <paulduffin@google.com>
Fri, 12 Jan 2018 16:08:35 +0000 (16:08 +0000)
committerPaul Duffin <paulduffin@google.com>
Sat, 13 Jan 2018 09:37:37 +0000 (09:37 +0000)
commita88eb29f9e0bd363fb3f1e02f379a54324a3e5ec
treee2a0a2a13fd60ead3bea8becacaea94eeba4b050
parent22bd015cbacfd67b0901733740a01ac4674d8f92
Remove junit classes from legacy-android-test

A mistake during the conversion of the legacy-android-test target from
Android.mk to Android.bp caused some junit classes to be accidentally
included in the legacy-android-test target. That caused some warnings
about duplicate classes to be output during the build.

The junit classes are being included as part of the static library
android.test.runner. This fixes that by adding a new
android.test.runner-minus-junit which excludes the junit classes
and then using that instead.

Test: make checkbuild
Change-Id: Icd00b38c64d3416a55c1055f9716ddb78ec278f8
test-base/Android.bp
test-runner/Android.bp