Revert "enable Java build for PDK build - Highest LOCAL_SDK_VERSION forced for package build / java library build - uses prebuilt tools for PDK"
This reverts commit 9283168e61
This commit is contained in:
committed by
Android (Google) Code Review
parent
9283168e61
commit
b9566c0221
@@ -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)))
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user