From 1116291cecc0de5b426fa6307c1b13f7d90259e1 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Fri, 26 Jan 2018 15:10:36 +0000 Subject: [PATCH] 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 af06ed42b5316a12b0c37d4296cc86cb112d0021) Change-Id: I0ea83bc88b6107f4154a9ca02f13b7c8cb367fea --- test-runner/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-runner/Android.mk b/test-runner/Android.mk index f5c2bc6904949..229a6ac05bb19 100644 --- a/test-runner/Android.mk +++ b/test-runner/Android.mk @@ -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))