summaryrefslogtreecommitdiffstats
path: root/core/java_library.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-01-12 11:12:06 -0800
committerYing Wang <wangying@google.com>2011-01-12 11:12:06 -0800
commit94978cf495879120c2dadf7afb2058688546be09 (patch)
tree58ae4c6c46bbd38584589819b6d57db11238e873 /core/java_library.mk
parent78064b4c694cab92ae66025564edcbfc2bbfc835 (diff)
downloadbuild-94978cf495879120c2dadf7afb2058688546be09.zip
build-94978cf495879120c2dadf7afb2058688546be09.tar.gz
build-94978cf495879120c2dadf7afb2058688546be09.tar.bz2
Disable dexpreopt for unbundled build.
Change-Id: Iad0cc41cfad2533703a0dddad743720c43ddb667
Diffstat (limited to 'core/java_library.mk')
-rw-r--r--core/java_library.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java_library.mk b/core/java_library.mk
index abc4728..dbf6981 100644
--- a/core/java_library.mk
+++ b/core/java_library.mk
@@ -30,10 +30,12 @@ common_javalib.jar := $(intermediates.COMMON)/$(LOCAL_BUILT_MODULE_STEM)
LOCAL_INTERMEDIATE_TARGETS += $(common_javalib.jar)
ifeq (true,$(WITH_DEXPREOPT))
+ifeq (,$(TARGET_BUILD_APPS))
ifndef LOCAL_DEX_PREOPT
LOCAL_DEX_PREOPT := true
endif
endif
+endif
#################################
include $(BUILD_SYSTEM)/java.mk