summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Android Build Merger (Role) <android-build-merger@google.com> 2016-12-07 17:03:39 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-12-07 17:03:43 +0000
commit4ad5bd10cbce3ee26ea98ad1c765ba4d30237dcd (patch)
tree894cac7fe2db1627fe77f343656dcb49f72d3450
parent6b1507c6b030730d568291c31f32376a9527c29e (diff)
parentb3237523ee2b6a164fae19595eb6e575bf531905 (diff)
Merge "Merge "Add legacy-performance-test-hostdex target" am: f9587a35ba am: c5f2b08e83 am: ef1d2b970c" into nyc-mr2-dev-plus-aosp
-rw-r--r--legacy-test/Android.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/legacy-test/Android.mk b/legacy-test/Android.mk
index fe5d8ca66b6a..00110021584c 100644
--- a/legacy-test/Android.mk
+++ b/legacy-test/Android.mk
@@ -27,3 +27,15 @@ LOCAL_STATIC_JAVA_LIBRARIES := core-junit-static
LOCAL_MODULE := legacy-test
include $(BUILD_JAVA_LIBRARY)
+
+ifeq ($(HOST_OS),linux)
+# Build the legacy-performance-test-hostdex library
+# =================================================
+# This contains the android.test.PerformanceTestCase class only
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := ../core/java/android/test/PerformanceTestCase.java
+LOCAL_MODULE := legacy-performance-test-hostdex
+
+include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)
+endif # HOST_OS == linux