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
This commit is contained in:
Keun young Park
2012-04-19 15:36:18 -07:00
parent 782610165f
commit 9283168e61
3 changed files with 17 additions and 1 deletions

View File

@@ -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)))