summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeun young Park <keunyoung@google.com>2012-04-20 16:20:42 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-04-20 16:20:42 -0700
commite661e358291accfe8448bdf60975ff8cdf8059d6 (patch)
tree632b9dd18a197f5e0ac4bbb9b3f601c19bb21430
parentd71a7f7bc8c309452b5de95a1d887b67b7d3781c (diff)
parentb9566c02210f6d5a91594c05b7ea28f048afab87 (diff)
downloadbuild-e661e358291accfe8448bdf60975ff8cdf8059d6.zip
build-e661e358291accfe8448bdf60975ff8cdf8059d6.tar.gz
build-e661e358291accfe8448bdf60975ff8cdf8059d6.tar.bz2
Merge "Revert "enable Java build for PDK build - Highest LOCAL_SDK_VERSION forced for package build / java library build - uses prebuilt tools for PDK""
-rw-r--r--core/java.mk8
-rw-r--r--core/pdk_config.mk8
-rw-r--r--tools/Android.mk2
3 files changed, 1 insertions, 17 deletions
diff --git a/core/java.mk b/core/java.mk
index 4005ce3..b302c9f 100644
--- a/core/java.mk
+++ b/core/java.mk
@@ -3,14 +3,6 @@
# 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)))
diff --git a/core/pdk_config.mk b/core/pdk_config.mk
index c0f80fd..729a44a 100644
--- a/core/pdk_config.mk
+++ b/core/pdk_config.mk
@@ -64,11 +64,3 @@ $(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
diff --git a/tools/Android.mk b/tools/Android.mk
index fe29e2b..92603f5 100644
--- a/tools/Android.mk
+++ b/tools/Android.mk
@@ -17,7 +17,7 @@
LOCAL_PATH := $(call my-dir)
# If we're building only unbundled apps, this is the only tool we need.
-ifneq (,$(TARGET_BUILD_APPS)$(filter true,$(TARGET_BUILD_PDK)))
+ifneq ($(TARGET_BUILD_APPS),)
include $(LOCAL_PATH)/signapk/Android.mk
else
include $(call first-makefiles-under,$(LOCAL_PATH))