diff options
author | Keun young Park <keunyoung@google.com> | 2012-04-19 15:36:18 -0700 |
---|---|---|
committer | Keun young Park <keunyoung@google.com> | 2012-04-20 16:34:33 -0700 |
commit | ebb351e1b38422345e060ba3a986f470e461c95c (patch) | |
tree | 01ea4a655e2331754c02808ecd9e2ceafc7f10c9 /core/java.mk | |
parent | e661e358291accfe8448bdf60975ff8cdf8059d6 (diff) | |
download | build-ebb351e1b38422345e060ba3a986f470e461c95c.zip build-ebb351e1b38422345e060ba3a986f470e461c95c.tar.gz build-ebb351e1b38422345e060ba3a986f470e461c95c.tar.bz2 |
enable Java build for PDK build
- Highest LOCAL_SDK_VERSION forced for package build / java library build
Bug: 6352960
Change-Id: I4a26bf26a51b95fb97c8b2adc9d32a543832c708
Diffstat (limited to 'core/java.mk')
-rw-r--r-- | core/java.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java.mk b/core/java.mk index b302c9f..4005ce3 100644 --- a/core/java.mk +++ b/core/java.mk @@ -3,6 +3,14 @@ # LOCAL_MODULE_CLASS # all_res_assets +ifeq ($(TARGET_BUILD_PDK),true) +# LOCAL_SDK not defined or set to current +ifeq ($(filter-out current,$(LOCAL_SDK_VERSION)),) +LOCAL_SDK_VERSION := $(PDK_BUILD_SDK_VERSION) +endif +endif #PDK + + # Make sure there's something to build. # It's possible to build a package that doesn't contain any classes. ifeq (,$(strip $(LOCAL_SRC_FILES)$(all_res_assets)$(LOCAL_STATIC_JAVA_LIBRARIES))) |