summaryrefslogtreecommitdiffstats
path: root/core/pdk_config.mk
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-04-19 15:36:18 -0700
committerKeun young Park <keunyoung@google.com>2012-04-20 10:07:31 -0700
commit9283168e61a4991d39a6c599627eefc45d41c099 (patch)
tree3ce71bde4c0e9cc3dad2768401a67b2e68374fbe /core/pdk_config.mk
parent782610165fc0a23dee93d6a297746e284edbb7ea (diff)
downloadbuild-9283168e61a4991d39a6c599627eefc45d41c099.tar.gz
build-9283168e61a4991d39a6c599627eefc45d41c099.tar.bz2
build-9283168e61a4991d39a6c599627eefc45d41c099.zip
enable Java build for PDK build
- Highest LOCAL_SDK_VERSION forced for package build / java library build - uses prebuilt tools for PDK Bug: 6352960 Change-Id: Ibb5162a16aa8151a1675baac14adb0cdfc13592d
Diffstat (limited to 'core/pdk_config.mk')
-rw-r--r--core/pdk_config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/pdk_config.mk b/core/pdk_config.mk
index 98f34a5ad..8e3f1bbd8 100644
--- a/core/pdk_config.mk
+++ b/core/pdk_config.mk
@@ -64,3 +64,11 @@ $(PRODUCT_OUT)/% : $(_pdk_fusion_intermediates)/%
ALL_PDK_FUSION_FILES := $(addprefix $(PRODUCT_OUT)/, $(_pdk_fusion_file_list))
endif
+
+ifeq ($(TARGET_BUILD_PDK),true)
+
+# SDK used for Java build under PDK
+PDK_BUILD_SDK_VERSION := $(lastword $(TARGET_AVAILABLE_SDK_VERSIONS))
+$(info PDK Build uses SDK $(PDK_BUILD_SDK_VERSION))
+
+endif # BUILD_PDK