Fix the ctstestrunner module target

When run under javac-check the ctstestrunner module does not
contain android-support-test even though it does when built
normally, i.e. using jack.

The ctstestrunner statically includes cts-test-runner which
statically includes android-support-test and so it looks like it
should work properly. However, cts-test-runner is built using
BUILD_JAVA_LIBRARY instead of BUILD_STATIC_JAVA_LIBRARY and the
former behaves differently under jack than it does for javac.

Switching to BUILD_STATIC_JAVA_LIBRARY works correctly for both
cases.

Bug: 27723540
Change-Id: I609e50c56ee08dd1a0aa81cc83fb6fdef27745e6
1 file changed