From 24306258e0b8a3297eaa52d792db8ef425010509 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 17 Jan 2017 14:49:41 +0000 Subject: [PATCH] Prepare for removal of legacy-test from default targets In preparation for removing junit classes from the Android API the legacy-test target will be removed from the TARGET_DEFAULT_JAVA_LIBRARIES. This change adds explicit dependencies on junit and/or legacy-android-test to ensure that modules will compile properly once it is removed. Bug: 30188076 Test: make checkbuild Change-Id: I63b6cb622e46952a48938ed055e8892eeaa67f72 --- samples/UiAutomator/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/UiAutomator/Android.mk b/samples/UiAutomator/Android.mk index 54191fab8..eb9c25647 100644 --- a/samples/UiAutomator/Android.mk +++ b/samples/UiAutomator/Android.mk @@ -24,6 +24,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_MODULE := uiautomator.samples LOCAL_JAVA_LIBRARIES := uiautomator.core +LOCAL_STATIC_JAVA_LIBRARIES := junit LOCAL_MODULE_PATH := $(local_target_dir)