summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-04-25 14:49:31 -0700
committerYing Wang <wangying@google.com>2014-04-25 14:49:31 -0700
commit2a38d245145e77170ebc86a964a0c0bf48435483 (patch)
tree3907a37aa62cc3c5c1ab9b68df4d32661a968f6d /Android.mk
parent376657899506a9dc21fe39bffa3a7d5274fc3348 (diff)
downloadprebuilts_sdk-2a38d245145e77170ebc86a964a0c0bf48435483.zip
prebuilts_sdk-2a38d245145e77170ebc86a964a0c0bf48435483.tar.gz
prebuilts_sdk-2a38d245145e77170ebc86a964a0c0bf48435483.tar.bz2
Install the prebuilt current SDK for checkbuild
so later users can run tapas and mm/mmm on Android.mk with "LOCAL_SDK_VERSION := current". Change-Id: I48c04e5ff7071084bdc9281fa0705604808d61d4
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4b7d5a0..b78e5a8 100644
--- a/Android.mk
+++ b/Android.mk
@@ -40,4 +40,9 @@ endef
$(foreach s,$(TARGET_AVAILABLE_SDK_VERSIONS),$(eval $(call _copy_prebuilt_sdk_to_the_right_place,$(s))))
+# Make sure we install the prebuilt current sdk when you do a checkbuild
+# so later users can run tapas and mm/mmm on an Android.mk with "LOCAL_SDK_VERSION := current".
+# That Android.mk may not be visible to platform build.
+checkbuild : $(call intermediates-dir-for,JAVA_LIBRARIES,sdk_vcurrent,,COMMON)/classes.jar
+
include $(call all-makefiles-under,$(LOCAL_PATH))