From 5960c546648e8fc058530c6bc39804b225d9ce11 Mon Sep 17 00:00:00 2001 From: Yohann Roussel Date: Fri, 19 Aug 2016 18:57:34 +0200 Subject: [PATCH] Allow selection of prebuilts min sdk Bug: 30966099 Change-Id: I55128d5a321bd65b4e12b90afbf7efe8ccb35829 --- core/prebuilt_internal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/prebuilt_internal.mk b/core/prebuilt_internal.mk index 701414a774..76a05bf4f6 100644 --- a/core/prebuilt_internal.mk +++ b/core/prebuilt_internal.mk @@ -428,7 +428,7 @@ ifneq ($(prebuilt_module_is_dex_javalib),true) # We may be building classes.jack from a host jar for host dalvik Java library. $(intermediates.COMMON)/classes.jack : PRIVATE_JACK_FLAGS:=$(LOCAL_JACK_FLAGS) -$(intermediates.COMMON)/classes.jack : PRIVATE_JACK_MIN_SDK_VERSION := 1 +$(intermediates.COMMON)/classes.jack : PRIVATE_JACK_MIN_SDK_VERSION := $(if $(strip $(LOCAL_MIN_SDK_VERSION)),$(LOCAL_MIN_SDK_VERSION),1) $(intermediates.COMMON)/classes.jack : $(my_src_jar) \ $(LOCAL_ADDITIONAL_DEPENDENCIES) $(JACK_DEFAULT_ARGS) $(JACK) \ | setup-jack-server