aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2017-05-24 12:01:30 +0100
committerNeil Fuller <nfuller@google.com>2017-05-25 13:00:16 +0100
commit22f8f8c27825fd0af62a10fe329484abe0ea8956 (patch)
tree1050eea6bf1822c9a2e7c12035f283bcbb9da167
parent984d99fd928ea4ccd1d7d6be02b112b06310d029 (diff)
downloadarchive-patcher-22f8f8c27825fd0af62a10fe329484abe0ea8956.tar.gz
Add a -hostdex target for libcore CTS testsandroid-vts-8.0_r2android-vts-8.0_r1oreo-dev
libcore CTS tests require a -hostdex target. This change adds the necessary target definition. Bug: 27637914 Test: make -j30 core-tests-hostdex Change-Id: I0639f121d7f868cc309c4ed22bc698e15588e060 (cherry picked from commit 66e3a02481a0fcfcaaea296c0ec4daf761d3a07c)
-rw-r--r--Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 884ddf6..6704350 100644
--- a/Android.mk
+++ b/Android.mk
@@ -26,3 +26,10 @@ LOCAL_SDK_VERSION := 4
LOCAL_JAVA_LANGUAGE_VERSION := 1.6
include $(BUILD_STATIC_JAVA_LIBRARY)
+include $(CLEAR_VARS)
+LOCAL_SRC_FILES := $(archive-patcher_shared_src_files) $(archive-patcher_applier_src_files)
+LOCAL_MODULE := archive-patcher-hostdex
+# archive-patcher should be compatible with all versions of Android
+LOCAL_SDK_VERSION := 4
+LOCAL_JAVA_LANGUAGE_VERSION := 1.6
+include $(BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY)