diff options
author | Justin Ho <justinho@google.com> | 2011-08-30 14:29:18 -0700 |
---|---|---|
committer | Justin Ho <justinho@google.com> | 2011-08-30 14:29:18 -0700 |
commit | 17a27047bb4d5f255b1c1c55864dae4425e9d6ee (patch) | |
tree | 2834f00153ff8612f945b0842edd778dbf8a8280 /core | |
parent | 5d8a5ceecb291b6ab6ba64f9e604db419fb81c8c (diff) | |
download | build-17a27047bb4d5f255b1c1c55864dae4425e9d6ee.zip build-17a27047bb4d5f255b1c1c55864dae4425e9d6ee.tar.gz build-17a27047bb4d5f255b1c1c55864dae4425e9d6ee.tar.bz2 |
Revert Ic7c40c50: Support to run dex-preopt on prebuilt apks
Collect some additional system image space, moving odex files to user partition on trygon-user
Change-Id: If992536ff0da14cc5b9ba51811b8a0b76f1b8f83
Diffstat (limited to 'core')
-rw-r--r-- | core/prebuilt.mk | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/prebuilt.mk b/core/prebuilt.mk index 07ecf64..bd4d91f 100644 --- a/core/prebuilt.mk +++ b/core/prebuilt.mk @@ -16,16 +16,6 @@ ifneq ($(LOCAL_PREBUILT_JAVA_LIBRARIES),) $(error dont use LOCAL_PREBUILT_JAVA_LIBRARIES anymore LOCAL_PATH=$(LOCAL_PATH)) endif -ifneq ($(filter APPS,$(LOCAL_MODULE_CLASS)),) -ifeq (true,$(WITH_DEXPREOPT)) -ifeq (,$(TARGET_BUILD_APPS)) -ifndef LOCAL_DEX_PREOPT -LOCAL_DEX_PREOPT := true -endif -endif -endif -endif - ifeq ($(LOCAL_STRIP_MODULE),true) ifdef LOCAL_IS_HOST_MODULE $(error Cannot strip host module LOCAL_PATH=$(LOCAL_PATH)) @@ -55,20 +45,8 @@ PACKAGES.$(LOCAL_MODULE).OVERRIDES := $(strip $(LOCAL_OVERRIDES_PACKAGES)) # Ensure that prebuilt .apks have been aligned. ifneq ($(filter APPS,$(LOCAL_MODULE_CLASS)),) -ifeq ($(LOCAL_DEX_PREOPT),true) -# Make sure the boot jars get dexpreopt-ed first -$(built_module): $(DEXPREOPT_BOOT_ODEXS) | $(DEXPREOPT) $(DEXOPT) $(AAPT) -endif $(built_module) : $(LOCAL_PATH)/$(LOCAL_SRC_FILES) | $(ZIPALIGN) $(transform-prebuilt-to-target-with-zipalign) -ifeq ($(LOCAL_DEX_PREOPT),true) - $(hide) rm -f $(patsubst %.apk,%.odex,$@) - $(call dexpreopt-one-file,$@,$(patsubst %.apk,%.odex,$@)) - $(call dexpreopt-remove-classes.dex,$@) - -built_odex := $(basename $(built_module)).odex -$(built_odex): $(built_module) -endif else ifneq ($(LOCAL_PREBUILT_STRIP_COMMENTS),) $(built_module) : $(LOCAL_PATH)/$(LOCAL_SRC_FILES) |