Add android.test.legacy.jar to SDK build

This is needed in order to create a prebuilts version of this JAR that
can be used for unbundled builds.

Bug: 30188076
Test: wait for pi-release build and check

(cherry picked from commit af06ed42b5)

Change-Id: I0ea83bc88b6107f4154a9ca02f13b7c8cb367fea
This commit is contained in:
Paul Duffin
2018-01-26 15:10:36 +00:00
parent bee7cce828
commit 1116291cec

View File

@@ -132,5 +132,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := android.test.base-minus-junit
include $(BUILD_STATIC_JAVA_LIBRARY)
# Archive a copy of the classes.jar in SDK build.
$(call dist-for-goals,sdk win_sdk,$(full_classes_jar):android.test.legacy.jar)
# additionally, build unit tests in a separate .apk
include $(call all-makefiles-under,$(LOCAL_PATH))